Merge pull request #97 from npjg/animation-controls

Animation controls
This commit is contained in:
Djordje Atlialp 2020-02-11 17:36:41 +01:00 committed by GitHub
commit 735c88f9b5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 1 deletions

View file

@ -5,7 +5,11 @@
{{ else }}
<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.logoColor }}background-color:{{ . }}{{ 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 }}">
</span>
{{ end }}
</div>
</a>