diff options
Diffstat (limited to 'examples/multilingual/layouts/news/single.html')
-rw-r--r-- | examples/multilingual/layouts/news/single.html | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/examples/multilingual/layouts/news/single.html b/examples/multilingual/layouts/news/single.html new file mode 100644 index 000000000..beb811cc2 --- /dev/null +++ b/examples/multilingual/layouts/news/single.html @@ -0,0 +1,17 @@ +{{ 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" . }} |