diff options
| -rw-r--r-- | nginx/homepage.conf | 7 | ||||
| -rw-r--r-- | zola-static/templates/index.html | 1 |
2 files changed, 7 insertions, 1 deletions
diff --git a/nginx/homepage.conf b/nginx/homepage.conf index 3bffb04..a9616c0 100644 --- a/nginx/homepage.conf +++ b/nginx/homepage.conf @@ -2,10 +2,15 @@ server { server_name jackjamison.net www.jackjamison.net ; + error_page 404 = /404.html; + location = /404.html { + internal; + root /var/www/homepage/404.html; + } + location / { root /var/www/homepage; index index.html; - error_page 404 404.html; } listen [::]:443 ssl ipv6only=on; # managed by Certbot diff --git a/zola-static/templates/index.html b/zola-static/templates/index.html index 3ae683e..98fe87f 100644 --- a/zola-static/templates/index.html +++ b/zola-static/templates/index.html @@ -11,6 +11,7 @@ <div class="index-section"> <h2>Articles</h2> <ul> + <li><a href="{{ get_url(path='@/blog/sdl-native-wayland.md') }}">Forcing SDL to use Wayland on Wayland</a></li> <li><a href="{{ get_url(path='@/blog/emacs-garbage-collection.md') }}">Solving Emacs Garbage Collection Stutters</a></li> </ul> </div> |
