aboutsummaryrefslogtreecommitdiff
path: root/html/blog/First_Post.tmpl.html
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/blog/First_Post.tmpl.html
parentf348728153f8c9199536a5c18c2f49f77f54aba5 (diff)
Reflect new syntax
Diffstat (limited to 'html/blog/First_Post.tmpl.html')
-rw-r--r--html/blog/First_Post.tmpl.html5
1 files changed, 3 insertions, 2 deletions
diff --git a/html/blog/First_Post.tmpl.html b/html/blog/First_Post.tmpl.html
index 674798f..810b2d0 100644
--- a/html/blog/First_Post.tmpl.html
+++ b/html/blog/First_Post.tmpl.html
@@ -1,11 +1,12 @@
-{{define "title"}}{{range .Contents}}{{ .Title }}{{end}}{{end}}
+{{define "title"}}{{.Post.Title}}{{end}}
{{define "description"}}First post explaining site modifications{{end}}
{{define "keywords"}}blog site{{end}}
+{{ define "canonical" }}/blog{{end}}
{{define "main"}}
<h1>Blog</h1>
<article class="postContent">
- <h2>{{range .Contents}}{{ .Title }}{{end}}</h2>
+ <h2>{{.Post.Title}}</h2>
<p>This is my first post on the new site! I am very excited to have the new system set up and mostly functional. There is still plenty of work to be done, but this is a great start.</p>
<p>I have moved to Golang for all server side scripting and web serving, and it's been a fun language to learn so far. I have had a lot of encouragement from my friend over at <a href="https://www.angel-castaneda.com" target="_blank" rel="noopener noreferrer">www.angel-castaneda.com</a> so go check out his page to see what he is working on.</p>
<p>The new site structure should be as follows:</p>