aboutsummaryrefslogtreecommitdiff
path: root/html/main
diff options
context:
space:
mode:
authorthinkpadmaster <a.scerba02@gmail.com>2023-08-28 09:49:47 -0500
committerAlex Scerba <alex@scerba.org>2024-10-29 13:19:57 -0400
commit027a96c9c8ecd9452a21f0173a15860d03a3f339 (patch)
tree141049f49461352f8ff6cd107404e97c69dd70ac /html/main
parentf348728153f8c9199536a5c18c2f49f77f54aba5 (diff)
Reflect new syntax
Diffstat (limited to 'html/main')
-rw-r--r--html/main/about.tmpl.html1
-rw-r--r--html/main/blog.tmpl.html3
-rw-r--r--html/main/index.tmpl.html2
-rw-r--r--html/main/projects.tmpl.html3
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 }}