mirror of
https://github.com/theNewDynamic/gohugo-theme-ananke.git
synced 2025-06-08 17:22:46 +00:00
Delete default title on sections.
This commit is contained in:
parent
fc4c6f11e0
commit
f6d5e27225
@ -9,9 +9,9 @@
|
||||
<h1 class="{{ $.Param "header_title_class" | default "f2 f-subheadline-l fw2 white-90 mb0 lh-title"}}{{ with getenv "HUGO_ENV" }} {{ . }}{{ end }}">
|
||||
{{/* Determinate if is a taxonomy page so put the tag is in uppercase on the title */}}
|
||||
{{ if .Data.Singular }}
|
||||
{{ .Title | default .Site.Title | upper }}
|
||||
{{ .Title | upper }}
|
||||
{{ else }}
|
||||
{{ .Title | default .Site.Title }}
|
||||
{{ .Title }}
|
||||
{{ end }}
|
||||
</h1>
|
||||
{{ with .Params.description }}
|
||||
|
Loading…
x
Reference in New Issue
Block a user