You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
770 B
21 lines
770 B
{{ define "main" }}
|
|
<article class="post">
|
|
<h1 class="title"><a href="{{ .Permalink }}">{{ .Title }}</a> {{ if .Draft }}(Draft){{ end }}</h1>
|
|
<p class="meta">
|
|
<span class="postdate">Posted {{ .Date.Format "January 02 2006" }}</span><br/>
|
|
{{ $taxo := "tags" }} <!-- Use the plural form here -->
|
|
<ul id="{{ $taxo }}" >
|
|
{{ range .Param $taxo }}
|
|
{{ $name := . }}
|
|
{{ with $.Site.GetPage (printf "/%s/%s" $taxo ($name | urlize)) }}
|
|
<li><a href="{{ .Permalink }}">{{ $name }}</a></li>
|
|
{{ end }}
|
|
{{ end }}
|
|
</ul>
|
|
</p>
|
|
|
|
<div class="post-content">{{ .Content | safeHTML }}</div>
|
|
|
|
</article>
|
|
{{ end }}
|