mirror of
https://github.com/Noettore/cocoa-eh-hugo-theme.git
synced 2025-10-15 03:36:41 +02:00
Rename parameter to titlestyle
This commit is contained in:
@@ -165,11 +165,11 @@ div.header .name {
|
|||||||
font-size: 28px;
|
font-size: 28px;
|
||||||
font-family: 'Nexa Bold', 'Helvetica Neue', 'Arial', sans-serif;
|
font-family: 'Nexa Bold', 'Helvetica Neue', 'Arial', sans-serif;
|
||||||
letter-spacing: -0.005rem;
|
letter-spacing: -0.005rem;
|
||||||
{{ if isset .Site.Params "title_style" }}
|
{{ if isset .Site.Params "titlestyle" }}
|
||||||
{{ if in "capitalize uppercase lowercase none full-width" .Site.Params.title_style }}
|
{{ if in "capitalize uppercase lowercase none full-width" .Site.Params.titlestyle }}
|
||||||
text-transform: {{ .Site.Params.title_style }};
|
text-transform: {{ .Site.Params.titlestyle }};
|
||||||
{{ else }}
|
{{ else }}
|
||||||
{{ errorf "This title_style is not a valid text-transform css parameter: %s" .Site.Params.title_style }}
|
{{ errorf "This titlestyle is not a valid text-transform css parameter: %s" .Site.Params.titlestyle }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{ else }}
|
{{ else }}
|
||||||
text-transform: uppercase;
|
text-transform: uppercase;
|
||||||
|
Reference in New Issue
Block a user