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

github.com/pavel-pi/kiss-em.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/partials/article.html')
-rw-r--r--layouts/partials/article.html29
1 files changed, 29 insertions, 0 deletions
diff --git a/layouts/partials/article.html b/layouts/partials/article.html
new file mode 100644
index 0000000..a0829ed
--- /dev/null
+++ b/layouts/partials/article.html
@@ -0,0 +1,29 @@
+<!-- Article Tags -->
+<div class="subtitle tags is-6 is-pulled-right">
+ {{ if .Params.tags }}
+ {{ partial "tags" .Params.tags }}
+ {{ end }}
+</div>
+
+<!-- Date above Article Title-->
+{{if not .Date.IsZero }}
+<h2 class="subtitle is-6">
+ {{ .Date.Format "January 2, 2006" }}
+</h2>
+{{ end }}
+
+<!-- Article Title -->
+<h1 class="title">{{ .Title }}</h1>
+
+<div class="content">
+
+ <!-- Article Content -->
+ {{ .Content }}
+
+ <!-- Related Articles -->
+ {{ if .Site.Params.Info.related }}
+ <div class="related">{{ partial "related" . }}</div>
+ {{ end }}
+
+</div>
+