mirror of
https://github.com/hacks-guide/minimal-mistakes.git
synced 2024-11-30 04:10:45 +00:00
13d7a231f7
* Support page header in archive-taxonomy layout
30 lines
764 B
HTML
30 lines
764 B
HTML
---
|
|
layout: default
|
|
author_profile: false
|
|
---
|
|
|
|
{% if page.header.overlay_color or page.header.overlay_image or page.header.image %}
|
|
{% include page__hero.html %}
|
|
{% elsif page.header.video.id and page.header.video.provider %}
|
|
{% include page__hero_video.html %}
|
|
{% endif %}
|
|
|
|
{% if page.url != "/" and site.breadcrumbs %}
|
|
{% unless paginator %}
|
|
{% include breadcrumbs.html %}
|
|
{% endunless %}
|
|
{% endif %}
|
|
|
|
<div id="main" role="main">
|
|
{% include sidebar.html %}
|
|
|
|
<div class="archive">
|
|
{% unless page.header.overlay_color or page.header.overlay_image %}
|
|
<h1 id="page-title" class="page__title">{{ page.title }}</h1>
|
|
{% endunless %}
|
|
{% for post in page.posts %}
|
|
{% include archive-single.html %}
|
|
{% endfor %}
|
|
</div>
|
|
</div>
|