-
Notifications
You must be signed in to change notification settings - Fork 314
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
a618ae9
commit 1909218
Showing
2 changed files
with
79 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,71 @@ | ||
--- | ||
layout: default | ||
--- | ||
|
||
{% 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 style="background-color: #fff;"> | ||
<article class="page" itemscope itemtype="https://schema.org/CreativeWork" style="background-color: #fff;"> | ||
|
||
<!-- | ||
<section class="page__content" itemprop="text">--> | ||
<div> | ||
{{ content }} | ||
|
||
</div> | ||
<!--</section> --> | ||
|
||
<footer class="page__meta"> | ||
{% if site.data.ui-text[site.locale].meta_label %} | ||
<h4 class="page__meta-title">{{ site.data.ui-text[site.locale].meta_label }}</h4> | ||
{% endif %} | ||
{% include page__taxonomy.html %} | ||
<!-- {% include page__date.html %} --> | ||
</footer> | ||
|
||
{% if page.share %}{% include social-share.html %}{% endif %} | ||
|
||
{% include post_pagination.html %} | ||
</div> | ||
|
||
{% if jekyll.environment == 'production' and site.comments.provider and page.comments %} | ||
{% include comments.html %} | ||
{% endif %} | ||
</article> | ||
|
||
|
||
{% comment %}<!-- only show related on a post page when `related: true` -->{% endcomment %} | ||
{% if page.id and page.related and site.related_posts.size > 0 %} | ||
<div class="page__related"> | ||
<h4 class="page__related-title">{{ site.data.ui-text[site.locale].related_label | default: "You May Also Enjoy" }}</h4> | ||
<div class="grid__wrapper"> | ||
{% for post in site.related_posts limit:4 %} | ||
{% include archive-single.html type="grid" %} | ||
{% endfor %} | ||
</div> | ||
</div> | ||
{% comment %}<!-- otherwise show recent posts if no related when `related: true` -->{% endcomment %} | ||
{% elsif page.id and page.related %} | ||
<div class="page__related"> | ||
<h4 class="page__related-title">{{ site.data.ui-text[site.locale].related_label | default: "You May Also Enjoy" }}</h4> | ||
<div class="grid__wrapper"> | ||
{% for post in site.posts limit:4 %} | ||
{% if post.id == page.id %} | ||
{% continue %} | ||
{% endif %} | ||
{% include archive-single.html type="grid" %} | ||
{% endfor %} | ||
</div> | ||
</div> | ||
{% endif %} | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters