Merge pull request #51 from vlourme/emoji
sidebar: hide emoji placeholder when no emoji is specified
This commit is contained in:
commit
6b5e840111
@ -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