_includes/header.html in miniscule-0.1.2 vs _includes/header.html in miniscule-0.1.3

- old
+ new

@@ -1,18 +1,18 @@ <header class="site-header"> - {%- include fork-me.html -%} + {%- if site.show_fork_me && site.fork_me_url -%} + {%- include fork-me.html -%} + {%- endif -%} <div class="cover-image"> </div> <div class="wrapper"> {%- assign default_paths = site.pages | map: "path" -%} {%- assign page_paths = site.header_pages | default: default_paths -%} {%- assign titles_size = site.pages | map: 'title' | join: '' | size -%} - {%- if site.logo -%} - <a class="site-title" rel="author" href="{{ "/" | relative_url }}"> - <img src="{{ site.logo | relative_url }}" class="site-logo"> - </a> - {%- endif -%} + <a class="site-title" rel="author" href="{{ "/" | relative_url }}"> + <img src="{{ site.logo | default: "assets/default-profile.jpg" | relative_url }}" class="site-logo"> + </a> <a class="site-title" rel="author" href="{{ "/" | relative_url }}" style="margin-top: 9px;"> {{ site.title | escape }} </a> {%- if titles_size > 0 -%}