diff options
author | Urja Acharya <urja.acharya@huskers.unl.edu> | 2021-03-01 08:22:15 +0300 |
---|---|---|
committer | Urja Acharya <urja.acharya@huskers.unl.edu> | 2021-03-01 08:22:15 +0300 |
commit | 9495cb612590c43c39a3b3c3582ce288009b6c76 (patch) | |
tree | 9f68a8a1583a1d929ed3d1b74477bbe10dba5030 /layouts/partials/title.html | |
parent | 8b75c25c0a50e44e1f1599adb979492a95dfcf95 (diff) |
modified header for all pages except home page
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> |