1
0
Fork 0
This repository has been archived on 2021-01-06. You can view files and clone it, but cannot push or open issues or pull requests.
dennogumi.org-archive/_includes/masthead.html

141 lines
No EOL
3.8 KiB
HTML
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{% if page.header == NULL and page.header.image_fullwidth == NULL and page.header.pattern == NULL and page.header.background-color == NULL and page.header.title == NULL %}
<div id="masthead-no-image-header">
<div class="row">
<div class="small-12 columns">
<a id="logo" href="{{ site.url }}" title="{{ site.title }}  {{ site.slogan }}">
<img src="{{ site.url }}/assets/img/{{ site.logo }}" alt="{{ site.title }}  {{ site.slogan }}">
</a>
</div><!-- /.small-12.columns -->
</div><!-- /.row -->
</div><!-- /#masthead -->
{% if page.breadcrumb == true %}
{% include breadcrumb.html %}
{% endif %}
{% elsif page.header.title %}
<div id="masthead-with-text" style="{% if page.header.background-color %}background: {{ page.header.background-color }};{% endif %} {% if page.header.image_fullwidth %}{% elsif page.header.pattern %}background: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.4)), url('{{ site.url }}/images/{{ page.header.pattern }}'){% endif %}">
<div class="row">
<div class="small-12 columns">
<div class="masthead-title">{{ page.header.title }}</div>
</div><!-- /.small-12.columns -->
</div><!-- /.row -->
</div><!-- /#masthead -->
{% if page.breadcrumb == true %}
{% include breadcrumb.html %}
{% endif %}
{% if page.header.caption_url && page.header.caption %}
<div class="masthead-caption">
<a href="{{ page.header.caption_url }}">{{ page.header.caption }}</a>
</div>
{% elsif page.header.caption %}
<div class="masthead-caption">
{{ page.header.caption }}
</div>
{% endif %}
{% elsif page.header.image_fullwidth %}
<div id="masthead">
<div class="row">
<div class="small-12 columns">
<a id="logo" href="{{ site.url }}" title="{{ site.title }}  {{ site.slogan }}">
<img src="{{ site.url }}/assets/img/{{ site.logo }}" alt="{{ site.title }}  {{ site.slogan }}">
</a>
</div><!-- /.small-12.columns -->
</div><!-- /.row -->
</div><!-- /#masthead -->
{% if page.breadcrumb == true %}
{% include breadcrumb.html %}
{% endif %}
{% if page.header.caption_url && page.header.caption %}
<div class="masthead-caption">
<a href="{{ page.header.caption_url }}">{{ page.header.caption }}</a>
</div>
{% elsif page.header.caption %}
<div class="masthead-caption">
{{ page.header.caption }}
</div>
{% endif %}
{% elsif page.header.pattern %}
<div id="masthead-with-pattern" style="background: url('{{ site.url }}/images/{{ page.header.pattern }}')">
<div class="row">
<figure class="small-12 columns">
<img src="{{ site.url }}/images/{{ page.header.image }}" alt="{{ site.title }}">
</figure><!-- /.small-12.columns -->
</div><!-- /.row -->
</div><!-- /#masthead -->
{% if page.breadcrumb == true %}
{% include breadcrumb.html %}
{% endif %}
{% if page.header.caption_url && page.header.caption %}
<div class="masthead-caption">
<a href="{{ page.header.caption_url }}">{{ page.header.caption }}</a>
</div>
{% elsif page.header.caption %}
<div class="masthead-caption">
{{ page.header.caption }}
</div>
{% endif %}
{% elsif page.header.background-color %}
<div id="masthead-with-background-color" style="background: {{ page.header.background-color }};">
<div class="row">
<figure class="small-12 columns">
<img src="{{ site.url }}/images/{{ page.header.image }}" alt="{{ site.title }}">
</figure><!-- /.small-12.columns -->
</div><!-- /.row -->
</div><!-- /#masthead -->
{% if page.breadcrumb == true %}
{% include breadcrumb.html %}
{% endif %}
{% if page.header.caption_url && page.header.caption %}
<div class="masthead-caption">
<a href="{{ page.header.caption_url }}">{{ page.header.caption }}</a>
</div>
{% elsif page.header.caption %}
<div class="masthead-caption">
{{ page.header.caption }}
</div>
{% endif %}
{% elsif page.header == false %}
{% if page.breadcrumb == true %}
{% include breadcrumb.html %}
{% endif %}
{% endif %}