hugo/examples/multilingual/layouts/news/single.html

18 lines
479 B
HTML
Raw Normal View History

{{ partial "head.html" . }}
{{ partial "header.html" . }}
{{ if .Params.listing }}
{{ range .Site.Taxonomies.groups.news.Pages }}
<article class="post">
<h3><a href='{{ .Permalink }}'>{{ .Title }}</a> </h3>
<div class="post-meta">{{ .Date.Format "Mon, Jan 2, 2006" }} - {{ .FuzzyWordCount }} Words</div>
{{ .Summary }}
<a href='{{ .Permalink }}'><nobr>read more →</nobr></a>
</article>
{{ end }}
{{ else }}
{{ .Content }}
{{ end }}
{{ partial "footer.html" . }}