Merge pull request #64 from JPYamamoto/master
Cursor color customization
This commit is contained in:
commit
d4aa6011f3
|
@ -80,6 +80,8 @@ disableHugoGeneratorInject = false
|
|||
[params.logo]
|
||||
logoText = "$ cd /home/"
|
||||
logoHomeLink = "/"
|
||||
# Set to a valid CSS color to change the cursor in the logo.
|
||||
# logoColor = "#67a2c9"
|
||||
|
||||
# Social icons
|
||||
[[params.social]]
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
{{ else }}
|
||||
<span class="logo__mark">></span>
|
||||
<span class="logo__text">{{ with .Site.Params.Logo.logoText }}{{ . }}{{ else }}hello{{ end }}</span>
|
||||
<span class="logo__cursor"></span>
|
||||
<span class="logo__cursor" style="{{ with .Site.Params.Logo.logoColor }}background-color:{{ . }}{{ end }}"></span>
|
||||
{{ end }}
|
||||
</div>
|
||||
</a>
|
||||
|
|
Loading…
Reference in New Issue