Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/gohugoio/hugo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'examples/multilingual/layouts/story/single.html')
-rw-r--r--examples/multilingual/layouts/story/single.html17
1 files changed, 17 insertions, 0 deletions
diff --git a/examples/multilingual/layouts/story/single.html b/examples/multilingual/layouts/story/single.html
new file mode 100644
index 000000000..0e2a19bdc
--- /dev/null
+++ b/examples/multilingual/layouts/story/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" . }}