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

github.com/rhnvrm/bodhi.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/partials/display_meta.html')
-rw-r--r--layouts/partials/display_meta.html18
1 files changed, 18 insertions, 0 deletions
diff --git a/layouts/partials/display_meta.html b/layouts/partials/display_meta.html
new file mode 100644
index 0000000..1e8de6f
--- /dev/null
+++ b/layouts/partials/display_meta.html
@@ -0,0 +1,18 @@
+<div class="light">
+ <span>{{ dateFormat "02 Jan 2006" $.Date }}</span> -
+ <span>{{ .ReadingTime }} minute read</span>
+</div>
+<div class="small">
+ {{ with .Params.categories }}
+ categories:
+ {{ range . }}
+ <a href="{{ "/categories/" | relLangURL }}{{ . | urlize }}">{{ . }}</a>
+ {{ end }}
+ {{ end }}
+ {{ with .Params.tags }}
+ tags:
+ {{ range . }}
+ <a href="{{ "/tags/" | relLangURL }}{{ . | urlize }}">{{ . }}</a>
+ {{ end }}
+ {{ end }}
+</div>