Skip to content

Commit

Permalink
Fix header toggle bg-image button
Browse files Browse the repository at this point in the history
  • Loading branch information
Track3 committed Dec 31, 2018
1 parent 4b2192f commit 8a3041d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion layouts/partials/header.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
</nav>
</div>
<div class="hdr-right hdr-icons">
{{ with .Params.featuredImg -}}
{{ if (or .Params.images .Params.featuredImg) -}}
<button class="hdr-btn" onclick="showFeaturedImg()" title="{{i18n "featuredImage"}}"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-image"><rect x="3" y="3" width="18" height="18" rx="2" ry="2"></rect><circle cx="8.5" cy="8.5" r="1.5"></circle><polyline points="21 15 16 10 5 21"></polyline></svg></button>
{{- end }}
{{- with .Params.toc -}}
Expand Down

0 comments on commit 8a3041d

Please sign in to comment.