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

github.com/mattstratton/castanet.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/partials/blog-metadata.html')
-rw-r--r--layouts/partials/blog-metadata.html14
1 files changed, 14 insertions, 0 deletions
diff --git a/layouts/partials/blog-metadata.html b/layouts/partials/blog-metadata.html
new file mode 100644
index 0000000..45f71a2
--- /dev/null
+++ b/layouts/partials/blog-metadata.html
@@ -0,0 +1,14 @@
+{{ $pageScope := . }}
+
+{{ with .Page.Param "Author" }}
+ {{ partial "author.html" $pageScope }}
+{{ end }}
+{{ with .Page.Param "categories" }}
+ | Category: {{ partial "categories.html" $pageScope }}
+{{ end }}
+{{ with .Page.Param "series" }}
+ | Series: {{ partial "series.html" $pageScope }}
+{{ end }}
+{{ with .Page.Param "tags" }}
+ | {{ partial "tags.html" $pageScope }}
+{{ end }} \ No newline at end of file