diff --git a/layouts/_default/single.html b/layouts/_default/single.html index 14229c8..1c74584 100755 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -2,18 +2,20 @@ {{ define "main" }}
-

- {{ humanize .Section | upper }} -

-

- {{ .Title }} -

- +
-
+
+ {{ end }} diff --git a/layouts/_default/taxonomy.html b/layouts/_default/taxonomy.html index 96eb8da..baa2c7d 100644 --- a/layouts/_default/taxonomy.html +++ b/layouts/_default/taxonomy.html @@ -1,7 +1,6 @@ {{ define "main" }}
diff --git a/layouts/index.html b/layouts/index.html index 094006c..9491759 100755 --- a/layouts/index.html +++ b/layouts/index.html @@ -1,7 +1,7 @@ {{ define "main" }} -
+
{{ .Content }} -
+ {{/* Define a section to pull recent posts from. For Hugo 0.20 this will default to the section with the most number of pages. */}} {{ $mainSections := .Site.Params.mainSections | default (slice "post") }} {{/* Create a variable with that section to use in multiple places. */}} diff --git a/layouts/partials/menu-contextual.html b/layouts/partials/menu-contextual.html index dd89d3c..ae1aa71 100644 --- a/layouts/partials/menu-contextual.html +++ b/layouts/partials/menu-contextual.html @@ -6,7 +6,7 @@ {{ $i := sub ($currentSection | len) 1 }} {{/* So we can only show this menu if there are one or more other entries */}} {{ if ge $i 1 }} - + {{ end }} diff --git a/layouts/shortcodes/form-contact.html b/layouts/shortcodes/form-contact.html index 7734e3f..e2ceb6b 100644 --- a/layouts/shortcodes/form-contact.html +++ b/layouts/shortcodes/form-contact.html @@ -1,7 +1,7 @@ {{ $.Scratch.Add "labelClasses" "f6 b db mb1 mt3 sans-serif mid-gray" }} {{ $.Scratch.Add "inputClasses" "w-100 f5 pv3 ph3 bg-light-gray bn" }} -
+