diff options
| author | Rose Hogenson <rosehogenson@posteo.net> | 2024-10-23 17:24:54 -0700 |
|---|---|---|
| committer | Rose Hogenson <rosehogenson@posteo.net> | 2024-10-23 17:24:54 -0700 |
| commit | 9c7895f5cdd27aeadcaa7128682a047cfc4fb3f8 (patch) | |
| tree | 095be38789871a82d1aebd0ed3cf2547b7b850db /templates/blog | |
| parent | Fix the page title for blog posts. (diff) | |
| download | roseh.moe-9c7895f5cdd27aeadcaa7128682a047cfc4fb3f8.tar.zst | |
Don't pre-render templates.
Diffstat (limited to 'templates/blog')
| -rw-r--r-- | templates/blog/post.html.template | 1 | ||||
| -rw-r--r-- | templates/blog/posts/2024-10-22_nix_flakes.html.template | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/templates/blog/post.html.template b/templates/blog/post.html.template index ba5e81f..d250fee 100644 --- a/templates/blog/post.html.template +++ b/templates/blog/post.html.template @@ -1,4 +1,5 @@ <article> <a href="/">⬅️Home</a> + <h1>{{template "title" .}}</h1> {{template "post"}} </article> diff --git a/templates/blog/posts/2024-10-22_nix_flakes.html.template b/templates/blog/posts/2024-10-22_nix_flakes.html.template index b9b2ca0..d191908 100644 --- a/templates/blog/posts/2024-10-22_nix_flakes.html.template +++ b/templates/blog/posts/2024-10-22_nix_flakes.html.template @@ -1,4 +1,4 @@ -<h1>nix flakes for busy people</h1> +{{define "title"}}nix flakes for busy people{{end}} <h2>TL;DR</h2> |
