diff options
author | thinkpadmaster <a.scerba02@gmail.com> | 2023-07-13 23:35:05 -0500 |
---|---|---|
committer | thinkpadmaster <a.scerba02@gmail.com> | 2023-07-13 23:35:05 -0500 |
commit | fca693f8cf2eeeae92939488b63127a90030c8fb (patch) | |
tree | bfe7d75448b9d2714f024e7d783d3e901facfbab /md/BLOG_TEMPLATE.tmpl.html | |
parent | e864807341990f5c72e198d96740983bf7671584 (diff) |
Extreme structure changes and file renames. Move to new template format.
Diffstat (limited to 'md/BLOG_TEMPLATE.tmpl.html')
-rw-r--r-- | md/BLOG_TEMPLATE.tmpl.html | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/md/BLOG_TEMPLATE.tmpl.html b/md/BLOG_TEMPLATE.tmpl.html new file mode 100644 index 0000000..c1c1dbf --- /dev/null +++ b/md/BLOG_TEMPLATE.tmpl.html @@ -0,0 +1,20 @@ +{{define "title"}}{{ .Title }}{{end}} +{{define "description"}}$description${{end}} +{{define "keywords"}}$tags${{end}} + +{{define "main"}} +<h1>$page$</h1> +<article class="postContent"> + <h2>{{ .Title }}</h2> + $body$ + <p>Uploaded: <time datetime="$date$">$date$</time></p> + <!--<div class="tags"> + <h4>tags:</h4> + <nav> + {{ range .Tags }} + <a href="/tags/{{ . }}">{{ . }}</a> <span>ยท</span> + {{ end }} + </nav> + </div>--> +</article> +{{end}} |