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

github.com/urjaacharya/redgood.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/partials/title.html')
-rw-r--r--layouts/partials/title.html17
1 files changed, 17 insertions, 0 deletions
diff --git a/layouts/partials/title.html b/layouts/partials/title.html
new file mode 100644
index 0000000..6f12a98
--- /dev/null
+++ b/layouts/partials/title.html
@@ -0,0 +1,17 @@
+<div>
+ <p class="site-title home-{{ .IsHome }}">
+ {{ if not .IsHome }}
+ {{ if eq .Kind "taxonomy" }}#{{ end }}{{ .Title }}
+ {{ if eq .Kind "page" }}
+ <p>
+ {{ dateFormat .Site.Params.theme.dateFormat .Date }} &middot; {{ .Site.Params.author }}
+ </p>
+ {{ end }}
+ {{ end }}
+ </p>
+ {{ if .IsHome }}
+ <p class="about-narrative">
+ {{ .Site.Params.about.narrative | markdownify }}
+ </p>
+ {{ end }}
+</div>