diff options
Diffstat (limited to 'layouts/partials/title.html')
-rw-r--r-- | layouts/partials/title.html | 17 |
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 }} · {{ .Site.Params.author }} + </p> + {{ end }} + {{ end }} + </p> + {{ if .IsHome }} + <p class="about-narrative"> + {{ .Site.Params.about.narrative | markdownify }} + </p> + {{ end }} +</div> |