Skip to content

Commit

Permalink
Rename options
Browse files Browse the repository at this point in the history
  • Loading branch information
Djordje Atlialp committed Feb 11, 2020
1 parent bdc70d8 commit e63dce7
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions exampleSite/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -90,12 +90,12 @@ disableHugoGeneratorInject = false
[params.logo]
logoText = "$ cd /home/"
logoHomeLink = "/"
# Set true to remove the logo entirely.
# logoDisabled = true
# Set true to remove the logo cursor entirely.
# logoCursorDisabled = false
# 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.
# logoAnimate = "2s"
# logoCursorAnimate = "2s"

# Social icons
[[params.social]]
Expand Down
6 changes: 3 additions & 3 deletions layouts/partials/logo.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@
<span class="logo__mark">></span>
<span class="logo__text">{{ with .Site.Params.Logo.logoText }}{{ . }}{{ else }}hello{{ end }}</span>
<span class="logo__cursor" style=
"{{ with.Site.Params.Logo.logoDisabled }}visibility:hidden;{{ end }}
{{ with.Site.Params.Logo.logoColor }}background-color:{{ . }};{{ end }}
{{ with.Site.Params.Logo.logoAnimate }}animation-duration:{{ . }};{{ end }}">
"{{ with.Site.Params.Logo.logoCursorDisabled }}visibility:hidden;{{ end }}
{{ with.Site.Params.Logo.logoCursorColor }}background-color:{{ . }};{{ end }}
{{ with.Site.Params.Logo.logoCursorAnimate }}animation-duration:{{ . }};{{ end }}">
</span>
{{ end }}
</div>
Expand Down

0 comments on commit e63dce7

Please sign in to comment.