1
0
Fork 0

improved header ›~ now with no-header option

This commit is contained in:
Moritz »mo.« Sauer 2015-01-13 23:11:29 +01:00
parent 25dab72954
commit 9caed6f788
35 changed files with 97 additions and 106 deletions

View file

@ -1,4 +1,4 @@
{% if page.image.header == NULL and page.header.pattern == NULL and page.header.background-color == NULL %}
{% if page.header == NULL and page.header.image_fullwidth == NULL and page.header.pattern == NULL and page.header.background-color == NULL %}
<div id="masthead-no-image-header">
<div class="row">
@ -10,7 +10,7 @@
</div><!-- /.row -->
</div><!-- /#masthead -->
{% elsif page.image.header %}
{% elsif page.header.image_fullwidth %}
<div id="masthead">
<div class="row">
@ -36,12 +36,16 @@
{% elsif page.header.background-color %}
<div id="masthead-with-background-color" style="background: {{ page.header.background-color }};">
<div class="row">
<div class="small-12 columns">
<img src="{{ site.url }}/images/{{ page.header.image }}" alt="{{ site.title }}">
</div><!-- /.small-12.columns -->
</div><!-- /.row -->
</div><!-- /#masthead -->
<div id="masthead-with-background-color" style="background: {{ page.header.background-color }};">
<div class="row">
<div class="small-12 columns">
<img src="{{ site.url }}/images/{{ page.header.image }}" alt="{{ site.title }}">
</div><!-- /.small-12.columns -->
</div><!-- /.row -->
</div><!-- /#masthead -->
{% elsif page.header == no %}
test
{% endif %}