diff options
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> |
