diff options
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}} |