From fba5befbf5b9cb9b9026b8f6af7f6c5444e1a8f5 Mon Sep 17 00:00:00 2001 From: Dimitar Trendafilov Date: Thu, 4 Oct 2018 15:15:57 +0300 Subject: Squashed 'website/themes/base16/' content from commit 7b2da73 git-subtree-dir: website/themes/base16 git-subtree-split: 7b2da739c813cd680e44606d2150e3c66a6794e6 --- layouts/partials/article.html | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 layouts/partials/article.html (limited to 'layouts/partials/article.html') diff --git a/layouts/partials/article.html b/layouts/partials/article.html new file mode 100644 index 0000000..c69a76f --- /dev/null +++ b/layouts/partials/article.html @@ -0,0 +1,30 @@ +{{ $page := .Page }} +
+
+{{ if not .Page.Date.IsZero }} + published on + +{{ end }} +{{ with .Params.categories }} + {{ if $page.Date.IsZero }}published {{ end }}in + +{{ range . }} + {{ . }} +{{ end }} + +{{ end }} +{{ with .Params.tags }} +
+ tags: + +{{ range . }} + {{ . }} +{{ end }} + +{{ end }} +
+

{{ .Title }}

+
+ {{ .Content }} +
+
-- cgit v1.3.1-26-gb76a