diff --git a/layouts/index.html b/layouts/index.html index c596063..77022d7 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -1,7 +1,19 @@ {{ define "main" }} + {{ partial "metadata.html" . }} +
+ {{ .Content }} +
+
+ {{ range where .Site.RegularPages "Section" "in" .Site.MainSections }} +
+

{{ .LinkTitle }}

+

{{ .Summary }}

+
+ {{ end }} +
{{ end }} diff --git a/layouts/partials/head.html b/layouts/partials/head.html index b2eceb4..4d2d054 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -10,4 +10,7 @@ {{ if .IsHome }}{{ $title = .Site.Title }}{{ end }} {{ $title }} {{ partial "hook_head_end.html" . }} + {{ if .IsHome }} + + {{ end }} diff --git a/layouts/partials/header.html b/layouts/partials/header.html index 7bcaaa8..922aad3 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -1,15 +1,20 @@ -

{{ $.Site.Title }}

-

{{ $.Site.Params.subtitle }}

- {{ $navbar_style := (default "classy" $.Site.Params.navbar_style) }} +

{{ $.Site.Title }}

+{{ else if .IsPage }} +Go Home + +

{{ $.Site.Params.subtitle }}

+{{ end }} +