diff --git a/exampleSite/config.toml b/exampleSite/config.toml index c10ebbe..c76c945 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -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]] diff --git a/layouts/partials/logo.html b/layouts/partials/logo.html index f7ddf6e..96579ef 100644 --- a/layouts/partials/logo.html +++ b/layouts/partials/logo.html @@ -6,9 +6,9 @@ > {{ with .Site.Params.Logo.logoText }}{{ . }}{{ else }}hello{{ 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 }}"> {{ end }}