bobatheme/layouts/_default/single.html

13 lines
298 B
HTML

{{ define "main" }}
<h1>{{ .Title | markdownify }}</h1>
{{ if .Date }}
<time datetime="{{ .Date.Format "2006-01-02" }}" pubdate>
{{ .Date.Format "2006-01-02" }}
</time>
{{ end }}
{{ range (.GetTerms "tags") }}
<a href="{{ .Permalink }}">#{{ .LinkTitle }}</a>
{{ end }}
{{ .Content }}
{{ end }}