Rename options
This commit is contained in:
parent
bdc70d82e7
commit
e63dce70a9
2 changed files with 7 additions and 7 deletions
|
@ -90,12 +90,12 @@ disableHugoGeneratorInject = false
|
||||||
[params.logo]
|
[params.logo]
|
||||||
logoText = "$ cd /home/"
|
logoText = "$ cd /home/"
|
||||||
logoHomeLink = "/"
|
logoHomeLink = "/"
|
||||||
# Set true to remove the logo entirely.
|
# Set true to remove the logo cursor entirely.
|
||||||
# logoDisabled = true
|
# logoCursorDisabled = false
|
||||||
# Set to a valid CSS color to change the cursor in the logo.
|
# Set to a valid CSS color to change the cursor in the logo.
|
||||||
# logoColor = "#67a2c9"
|
# logoCursorColor = "#67a2c9"
|
||||||
# Set to a valid CSS time value to change the animation duration, "0s" to disable.
|
# Set to a valid CSS time value to change the animation duration, "0s" to disable.
|
||||||
# logoAnimate = "2s"
|
# logoCursorAnimate = "2s"
|
||||||
|
|
||||||
# Social icons
|
# Social icons
|
||||||
[[params.social]]
|
[[params.social]]
|
||||||
|
|
|
@ -6,9 +6,9 @@
|
||||||
<span class="logo__mark">></span>
|
<span class="logo__mark">></span>
|
||||||
<span class="logo__text">{{ with .Site.Params.Logo.logoText }}{{ . }}{{ else }}hello{{ end }}</span>
|
<span class="logo__text">{{ with .Site.Params.Logo.logoText }}{{ . }}{{ else }}hello{{ end }}</span>
|
||||||
<span class="logo__cursor" style=
|
<span class="logo__cursor" style=
|
||||||
"{{ with.Site.Params.Logo.logoDisabled }}visibility:hidden;{{ end }}
|
"{{ with.Site.Params.Logo.logoCursorDisabled }}visibility:hidden;{{ end }}
|
||||||
{{ with.Site.Params.Logo.logoColor }}background-color:{{ . }};{{ end }}
|
{{ with.Site.Params.Logo.logoCursorColor }}background-color:{{ . }};{{ end }}
|
||||||
{{ with.Site.Params.Logo.logoAnimate }}animation-duration:{{ . }};{{ end }}">
|
{{ with.Site.Params.Logo.logoCursorAnimate }}animation-duration:{{ . }};{{ end }}">
|
||||||
</span>
|
</span>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue