diff options
Diffstat (limited to 'html/main')
-rw-r--r-- | html/main/about.tmpl.html | 1 | ||||
-rw-r--r-- | html/main/blog.tmpl.html | 3 | ||||
-rw-r--r-- | html/main/index.tmpl.html | 2 | ||||
-rw-r--r-- | html/main/projects.tmpl.html | 3 |
4 files changed, 6 insertions, 3 deletions
diff --git a/html/main/about.tmpl.html b/html/main/about.tmpl.html index af0f04a..69caeb1 100644 --- a/html/main/about.tmpl.html +++ b/html/main/about.tmpl.html @@ -1,6 +1,7 @@ {{ define "title" }}About{{end}} {{ define "description" }}About me and my site.{{end}} {{ define "keywords" }}about{{end}} +{{ define "canonical" }}/about{{end}} {{ define "main" }} <h1>alexscerba.com<wbr>/about</h1> diff --git a/html/main/blog.tmpl.html b/html/main/blog.tmpl.html index 9017066..055d2ec 100644 --- a/html/main/blog.tmpl.html +++ b/html/main/blog.tmpl.html @@ -1,13 +1,14 @@ {{ define "title" }}Blog{{end}} {{ define "description" }}Site blog featuring personal and project updates as well as anything random I want to share.{{end}} {{ define "keywords" }}blog{{end}} +{{ define "canonical" }}/blog{{end}} {{ define "main" }} <h1>alexscerba.com<wbr>/blog</h1> <section class="postContent"> <h2>Entries</h2> -{{ range .Contents }} +{{ range .Posts.Contents}} <p>- <a href="/blog/{{ .FileName }}">{{ .Title }}</a></p> {{ end }} </section> diff --git a/html/main/index.tmpl.html b/html/main/index.tmpl.html index 5c60a6c..e30fefb 100644 --- a/html/main/index.tmpl.html +++ b/html/main/index.tmpl.html @@ -11,7 +11,7 @@ <section class="bottom"> <h2>Latest Design Projects</h2> <div class="posts"> -{{ range .Contents }} +{{ range .Posts.Contents }} <figure class="thumbnail"> <a href="/projects/{{ .FileName }}"> {{ .Image }} diff --git a/html/main/projects.tmpl.html b/html/main/projects.tmpl.html index 9baae9f..9afc81d 100644 --- a/html/main/projects.tmpl.html +++ b/html/main/projects.tmpl.html @@ -1,13 +1,14 @@ {{ define "title" }}Projects{{end}} {{ define "description" }}Porfolio projects.{{end}} {{ define "keywords" }}projects{{end}} +{{ define "canonical" }}/projects{{end}} {{ define "main" }} <h1>alexscerba.com<wbr>/projects</h1> <section class="projectList"> <h2>Completed</h2> -{{ range .Contents }} +{{ range .Posts.Contents }} <figure class="thumbnail"> <a href="/projects/{{ .FileName }}"> {{ .Image }} |