-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
use different title for homepage and override base layout.
- Loading branch information
Showing
2 changed files
with
34 additions
and
7 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,28 @@ | ||
--- | ||
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 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"{% if page.locale %} lang="{{ page.locale }}"{% endif %}> | ||
{% if page.title_heading %}{{ page.title_heading }}{% else %}{{ page.title }}{% endif %} | ||
</h1> | ||
{% endunless %} | ||
{{ content }} | ||
</div> | ||
</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