diff --git a/layouts/index.html b/layouts/index.html index d6ba684e..6a7b4ee2 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -2,7 +2,10 @@ {{ partial "navbar.html" . }} {{ partial "header.html" . }} {{ partial "content.html" . }} + + {{ partial "footer.html" . }} + diff --git a/layouts/partials/content.html b/layouts/partials/content.html index addaf45c..47123632 100644 --- a/layouts/partials/content.html +++ b/layouts/partials/content.html @@ -1,4 +1,6 @@ +
+
    @@ -24,7 +26,7 @@ {{ if or (eq $t "chara") (eq $t "story") (eq $t "card") (eq $t "vrm") }}
  • - +
  • @@ -40,7 +42,7 @@ {{ end }}
  • - +
  • + +
+ + + diff --git a/layouts/partials/head.html b/layouts/partials/head.html index e9832a3b..b4258de9 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -40,4 +40,6 @@ {{ range .AlternativeOutputFormats -}} {{ printf `` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }} {{ end -}} + + diff --git a/layouts/partials/header.html b/layouts/partials/header.html index abd86406..8569790f 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -1,9 +1,13 @@ +
+ {{ $s := path.Dir (.Permalink | relURL) }} {{ $t := index (split $s "/") 2 }} {{ $o := index (split $s "/") 1 }} +