diff options
Diffstat (limited to 'layouts/_default/single.html')
-rw-r--r-- | layouts/_default/single.html | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/layouts/_default/single.html b/layouts/_default/single.html new file mode 100644 index 0000000..5d0d520 --- /dev/null +++ b/layouts/_default/single.html @@ -0,0 +1,17 @@ +{{ define "main" }} {{ if eq .Type "blog" }}{{ if not .Params.menu }} +<h1>{{ .Title }}</h1> +<p> + <i> + <time datetime='{{ .Date.Format "2006-01-02" }}'> + {{ .Date.Format (default "02 Jan, 2006" .Site.Params.dateFormat) }} + </time> + </i> +</p> +{{ end }}{{ end }} +<content> {{ .Content }} </content> +<p> + {{ range (.GetTerms "tags") }} + <a href="{{ .Permalink }}">#{{ lower .LinkTitle }}</a> + {{ end }} +</p> +{{ end }} |