diff options
author | Oscar Najera <hi@oscarnajera.com> | 2023-10-26 18:33:14 +0200 |
---|---|---|
committer | Oscar Najera <hi@oscarnajera.com> | 2023-10-26 18:51:09 +0200 |
commit | a0d1038fb02d7afc8262731a4f89dedfb2c2e032 (patch) | |
tree | 5af8661d3d5d2f79dbd287b662e49e0bae93f0a7 /layouts | |
parent | db604eb0a10a61750dccd7b7d245b1c8806b80e8 (diff) | |
download | hugo-minimalist-theme-a0d1038fb02d7afc8262731a4f89dedfb2c2e032.tar.gz hugo-minimalist-theme-a0d1038fb02d7afc8262731a4f89dedfb2c2e032.tar.bz2 hugo-minimalist-theme-a0d1038fb02d7afc8262731a4f89dedfb2c2e032.zip |
Metadata display defined by user not template
footer taxonomy links no green hover
Diffstat (limited to 'layouts')
-rw-r--r-- | layouts/_default/single.html | 2 | ||||
-rw-r--r-- | layouts/partials/footer.html | 2 | ||||
-rw-r--r-- | layouts/partials/post.html | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/layouts/_default/single.html b/layouts/_default/single.html index 0dd0817..96ef493 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -9,7 +9,7 @@ {{ end }} {{ partial "meta_links.html" . }} - {{ if in (slice "post" "talk" "publication") .Section }} + {{ if .Params.metadata }} {{ partial "metadata.html" . }} {{ end }} diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index ea16fef..796859b 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -13,7 +13,7 @@ <ul class="ma0 pa0 list overflow-hidden avenir tc bb b--white-40"> {{ range .Site.Menus.footer }} - <li class="dib w3-hover-theme"> + <li class="dib dim"> <a class="db f6 pa2 link near-white" href="{{ .URL }}" >{{ .Name | safeHTML }} </a> diff --git a/layouts/partials/post.html b/layouts/partials/post.html index 0d80db9..1c655c1 100644 --- a/layouts/partials/post.html +++ b/layouts/partials/post.html @@ -28,7 +28,7 @@ </div> </div> </a> - {{ if in (slice "post" "talk" "publication") .Section }} + {{ if .Params.metadata }} {{ partial "metadata.html" . }} {{ end }} </article> |