From 520d14de7b7552d289eece4454d387672116e0c4 Mon Sep 17 00:00:00 2001 From: Nathanael Gentry Date: Thu, 9 Jan 2020 09:23:34 -0500 Subject: [PATCH 1/2] add logo visibility and animation controls --- exampleSite/config.toml | 4 ++++ layouts/partials/logo.html | 6 +++++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/exampleSite/config.toml b/exampleSite/config.toml index 88f687e..4afa739 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -90,8 +90,12 @@ disableHugoGeneratorInject = false [params.logo] logoText = "$ cd /home/" logoHomeLink = "/" + # Set true to remove the logo entirely. + # logoDisables = true # Set to a valid CSS color to change the cursor in the logo. # logoColor = "#67a2c9" + # Set to a valid CSS time value to change the animation duration, "0s" to disable. + # logoAnimate = "2s" # Social icons [[params.social]] diff --git a/layouts/partials/logo.html b/layouts/partials/logo.html index 685a84e..f7ddf6e 100644 --- a/layouts/partials/logo.html +++ b/layouts/partials/logo.html @@ -5,7 +5,11 @@ {{ else }} > {{ with .Site.Params.Logo.logoText }}{{ . }}{{ else }}hello{{ end }} - + + {{ end }} From 2d1571a111c7bd07a06128b3567960d3c4ecda0c Mon Sep 17 00:00:00 2001 From: Nathanael Gentry Date: Sat, 11 Jan 2020 10:57:04 -0500 Subject: [PATCH 2/2] fix documentation --- exampleSite/config.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/exampleSite/config.toml b/exampleSite/config.toml index 4afa739..c10ebbe 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -91,7 +91,7 @@ disableHugoGeneratorInject = false logoText = "$ cd /home/" logoHomeLink = "/" # Set true to remove the logo entirely. - # logoDisables = true + # logoDisabled = true # Set to a valid CSS color to change the cursor in the logo. # logoColor = "#67a2c9" # Set to a valid CSS time value to change the animation duration, "0s" to disable.