Skip to content

Commit

Permalink
Merge pull request #12 from koskaks/master
Browse files Browse the repository at this point in the history
Show blog title when no logo image provided
  • Loading branch information
jelenajjo committed Dec 16, 2016
2 parents df53fda + 02a3aab commit 7744d62
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion default.hbs
Expand Up @@ -65,7 +65,9 @@ function loadFiles() {
</div>
<header class="topbar">
<div class="topbarCont">
{{#if @blog.logo}}<a href="{{@blog.url}}" title="{{@blog.title}}"><img src="{{@blog.logo}}" alt="{{@blog.title}}" class="topbarLogo"></a>{{/if}}
{{#if @blog.logo}}<a href="{{@blog.url}}" title="{{@blog.title}}"><img src="{{@blog.logo}}" alt="{{@blog.title}}" class="topbarLogo"></a>
{{else}}<a href="{{@blog.url}}" title="{{@blog.title}}">{{@blog.title}}</a>
{{/if}}
</div>
<div class="topbarCont">
<div class="topbarInfo">
Expand Down

0 comments on commit 7744d62

Please sign in to comment.