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

github.com/uPagge/uBlogger.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/shortcodes/series.html')
-rw-r--r--layouts/shortcodes/series.html11
1 files changed, 11 insertions, 0 deletions
diff --git a/layouts/shortcodes/series.html b/layouts/shortcodes/series.html
new file mode 100644
index 0000000..dea5141
--- /dev/null
+++ b/layouts/shortcodes/series.html
@@ -0,0 +1,11 @@
+{{ $series_name := .Get 0 | urlize }}
+
+{{ range $key, $taxonomy := .Site.Taxonomies.series }}
+{{ if eq $key $series_name }}
+<ul>
+ {{ range $taxonomy.Pages.ByDate }}
+ <li hugo-nav="{{ .RelPermalink }}"><a href="{{ .Permalink }}">{{ .LinkTitle }}</a></li>
+ {{ end }}
+</ul>
+{{ end }}
+{{ end }} \ No newline at end of file