sidebar: hide emoji placeholder when no emoji is specified
This commit is contained in:
parent
cd408279e4
commit
f763adfa60
@ -18,7 +18,9 @@
|
|||||||
{{ errorf "Failed loading avatar from %q" . }}
|
{{ errorf "Failed loading avatar from %q" . }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
<span class="emoji">{{ $.Site.Params.sidebar.emoji }}</span>
|
{{ with $.Site.Params.sidebar.emoji }}
|
||||||
|
<span class="emoji">{{ . }}</span>
|
||||||
|
{{ end }}
|
||||||
</figure>
|
</figure>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
<h1 class="site-name"><a href="{{ .Site.BaseURL }}">{{ .Site.Title }}</a></h1>
|
<h1 class="site-name"><a href="{{ .Site.BaseURL }}">{{ .Site.Title }}</a></h1>
|
||||||
|
Loading…
Reference in New Issue
Block a user