diff options
| author | Rose Hogenson <rosehogenson@posteo.net> | 2024-10-23 07:03:22 -0700 |
|---|---|---|
| committer | Rose Hogenson <rosehogenson@posteo.net> | 2024-10-23 07:03:22 -0700 |
| commit | 44645b7ec78750ee61e9f65313242788c324437d (patch) | |
| tree | 21b13915b014663adf58f5cb9c611ac0a289490c /templates | |
| parent | 59f10197ee75a881213ac50fbb026601f027bbe4 (diff) | |
| download | roseh.moe-44645b7ec78750ee61e9f65313242788c324437d.tar.zst | |
Fix the page title for blog posts.
Diffstat (limited to 'templates')
| -rw-r--r-- | templates/index.html.template | 2 | ||||
| -rw-r--r-- | templates/outline.html.template | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/templates/index.html.template b/templates/index.html.template index 0d83073..5c8d11b 100644 --- a/templates/index.html.template +++ b/templates/index.html.template @@ -10,7 +10,7 @@ <p><a href="/pong">Games?</a> (Warning: loud)</p> </article> -{{range .}} +{{range .Posts}} <article> <a href="/blog/{{.}}"><h2>{{name .}}</h2></a> </article> diff --git a/templates/outline.html.template b/templates/outline.html.template index 960a880..be739c3 100644 --- a/templates/outline.html.template +++ b/templates/outline.html.template @@ -1,7 +1,7 @@ <!DOCTYPE html> <html lang="en"> <head> - <title>rose.moe</title> + <title>{{.Title}}</title> <link rel="icon" href="/static/icon.png"> <link rel="stylesheet" href="/static/styles.css"> </head> |
