aboutsummaryrefslogtreecommitdiff
path: root/html
diff options
context:
space:
mode:
authorthinkpadmaster <a.scerba02@gmail.com>2023-07-14 00:51:21 -0500
committerthinkpadmaster <a.scerba02@gmail.com>2023-07-14 00:51:21 -0500
commit90367e84ba933f0eca347767522b67e3e321f3ea (patch)
treeddb7c8f24adffbfd882278c12ecb027660f437eb /html
parentf609ba180872439f5607eb25e7823312034e57bc (diff)
Update to range
Diffstat (limited to 'html')
-rw-r--r--html/blog/Markdown_To_HTML_Update.tmpl.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/html/blog/Markdown_To_HTML_Update.tmpl.html b/html/blog/Markdown_To_HTML_Update.tmpl.html
index 7725a0a..906e733 100644
--- a/html/blog/Markdown_To_HTML_Update.tmpl.html
+++ b/html/blog/Markdown_To_HTML_Update.tmpl.html
@@ -1,11 +1,11 @@
-{{define "title"}}{{ .Title }}{{end}}
+{{define "title"}}{{range .Contents}}{{ .Title }}{{end}}{{end}}
{{define "description"}}Update on the new site underlying code.{{end}}
{{define "keywords"}}blog site{{end}}
{{define "main"}}
<h1>Blog</h1>
<article class="postContent">
- <h2>{{ .Title }}</h2>
+ <h2>{{range .Contents}}{{ .Title }}{{end}}</h2>
<p>So, I got the site to use real, authentic, true to the standard, “text/template” format for my pages and posts. No more strange, non-conforming elements. More readable source code?? We have it. The best?? Probably not… but that’s okay because progress is progress. The last few things to do are program in the tagging system, set up <a href="https://imagemagick.org/" target="_blank" rel="noopener noreferrer">ImageMagick</a> for automatically sizing images, and writing the automation scripts to move everything where it sholud go.</p>
<p>Getting this all to work has been a great adventure. Going back to programming has been pretty refreshing compared to working on art. A program is either right or wrong. It does what you expect, or it doesn’t. There’s not much interpretation to be had and I miss it.</p>
<p>Uploaded: <time datetime="2023-07-13">2023-07-13</time></p>