diff options
| author | Philipp Geyer <philipp@geyer.co.uk> | 2023-10-24 23:47:55 +0200 |
|---|---|---|
| committer | Philipp Geyer <philipp@geyer.co.uk> | 2023-10-24 23:47:55 +0200 |
| commit | 971337d54fc59f844d67e8882fc3435321c36bd3 (patch) | |
| tree | 019b849b4395e6f13f76106c52403b904c5214b2 /publish.el | |
| parent | 653edf359d5072039f5d523421ab006521870e5f (diff) | |
Minor update
Resizing images
Adding Egosoft to experience
Changing site credits to add open sourcerers
Removing AWS specific appspec file and scripts
Diffstat (limited to 'publish.el')
| -rw-r--r-- | publish.el | 21 |
1 files changed, 13 insertions, 8 deletions
@@ -3,9 +3,14 @@ (require 'weblorg) +(if (string= (getenv "CONFIG") "local") + (setq url "http://192.168.1.10:8000") + (setq url "https://philippgeyer.co.uk")) + + (weblorg-site :name "Philipp Geyer" - :base-url "https://philippgeyer.co.uk" + :base-url url :theme nil :author "Philipp Geyer") @@ -17,7 +22,7 @@ :output "output/index.html" :url "/" :site (weblorg-site - :base-url "https://philippgeyer.co.uk")) + :base-url url)) ;; route for rendering each post (weblorg-route @@ -27,7 +32,7 @@ :output "output/posts/{{ slug }}.html" :url "/posts/{{ slug }}.html" :site (weblorg-site - :base-url "https://philippgeyer.co.uk")) + :base-url url)) ;; route for rendering the index page of the blog (weblorg-route @@ -38,7 +43,7 @@ :output "output/blog.html" :url "/blog.html" :site (weblorg-site - :base-url "https://philippgeyer.co.uk")) + :base-url url)) ;; route for rendering each page (weblorg-route @@ -48,7 +53,7 @@ :output "output/{{ slug }}.html" :url "/{{ slug }}.html" :site (weblorg-site - :base-url "https://philippgeyer.co.uk")) + :base-url url)) ;; route for rendering the index page of articles (weblorg-route @@ -59,7 +64,7 @@ :output "output/articles.html" :url "/articles.html" :site (weblorg-site - :base-url "https://philippgeyer.co.uk")) + :base-url url)) :input-aggregate #'weblorg-input-aggregate-all-desc (weblorg-route @@ -69,14 +74,14 @@ :output "output/cv/{{ slug }}.html" :url "/cv/{{slug }}.html" :site (weblorg-site - :base-url "https://philippgeyer.co.uk")) + :base-url url)) ;; route for static assets that also copies files to output directory (weblorg-copy-static :output "static/{{ file }}" :url "/static/{{ file }}" :site (weblorg-site - :base-url "https://philippgeyer.co.uk")) + :base-url url)) (setq debug-on-error t) |
