added dynamic titles to pages for SEO

This commit is contained in:
rawleyIfowler
2022-02-27 12:24:52 -06:00
parent a2779c487c
commit 161f68ba85
6 changed files with 54 additions and 10 deletions

View File

@@ -1,6 +1,6 @@
{{ template "header.tmpl" . }}
<h2>Blog posts</h2>
{{ range $val := . }}
{{ range $val := .Posts }}
<div class="post-record">
<div>
<a class="post-record-title" href="/blog/post/{{ $val.Url }}">{{ $val.Title }}</a>