mirror of
https://github.com/gohugoio/hugo.git
synced 2024-12-30 20:20:49 +00:00
68ebf61613
Use new i18n concept Fixes #2417
17 lines
479 B
HTML
17 lines
479 B
HTML
{{ 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" . }}
|