improved header ›~ now with no-header option
This commit is contained in:
parent
25dab72954
commit
9caed6f788
35 changed files with 97 additions and 106 deletions
|
@ -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 %}
|
||||
|
|
Reference in a new issue