Skip to content

Commit

Permalink
Updated sidebar to be more ergonomic when accepting header image
Browse files Browse the repository at this point in the history
  • Loading branch information
KyLeggiero committed Feb 3, 2020
1 parent 45e9a67 commit 7e3119a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Sidebar/sidebar.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@
{%- unless include.emptyHeader %}
<header>
<figure>
{%- if include.headerImage -%}
<img src="{{ include.headerImage.url }}" class="{{ include.headerImage.htmlClassNames }}"/>
{%- if include.headerImage_url -%}
<img src="{{ include.headerImage_url }}" class="{{ include.headerImage_htmlClassNames }}"/>
{%- else -%}
No header image supplied; <code>emptyHeader</code> was not <code>true</code>
No header image supplied; <code>headerImage_url</code> was missing and <code>emptyHeader</code> was not <code>true</code>
{%- endif -%}
</figure>
</header>
Expand Down

0 comments on commit 7e3119a

Please sign in to comment.