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.
 
 
hugo-theme-hoogi/layouts/posts/single.html

21 lines
605 B

{{ define "main" }}
{{ .Scratch.Set "scope" "single" }}
<article>
<header>
<h1>
{{.Title}}
</h1>
<p>
{{ if .Date }} written {{ if .Params.Author }} by {{ .Params.Author }} {{ end }} on
<time>{{ .Date.Format "Jan 2, 2006" }}</time>{{ end }}
{{ if .Params.categories }}
in
{{ range .Params.categories }}
<a href="{{ $.Site.BaseURL }}categories/{{ . | urlize }}">{{ . | humanize }}</a>
{{ end }}
{{ end }}
</p>
</header>
{{ .Content }}
</article>
{{ end }}