mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-21 20:46:30 -05: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" . }}
|