From e63dce70a95afeae279c7bc48eb488a4086c496c Mon Sep 17 00:00:00 2001 From: Djordje Atlialp Date: Tue, 11 Feb 2020 18:12:35 +0100 Subject: [PATCH] Rename options --- exampleSite/config.toml | 8 ++++---- layouts/partials/logo.html | 6 +++--- 2 files changed, 7 insertions(+), 7 deletions(-) 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 }}