-
Notifications
You must be signed in to change notification settings - Fork 2
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
ebd2676
commit 34cafa9
Showing
6 changed files
with
429 additions
and
9 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
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
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,26 @@ | ||
<!-- Tags --> | ||
{% if "material/tags" in config.plugins %} | ||
{% include "partials/tags.html" %} | ||
{% endif %} | ||
<!-- Actions --> | ||
{% include "partials/actions.html" %} | ||
<!-- | ||
Hack: check whether the content contains a h1 headline. If it doesn't, the | ||
page title (or respectively site name) is used as the main headline. | ||
--> | ||
{% if "\x3ch1" not in page.content %}<h1>{{ page.title | d(config.site_name, true) }}</h1>{% endif %} | ||
<!-- Page content --> | ||
{{ page.content }} | ||
<!-- Source file information --> | ||
{% if page.meta and ( | ||
page.meta.git_revision_date_localized or | ||
page.meta.revision_date | ||
) %} | ||
{% include "partials/source-file.html" %} | ||
{% endif %} | ||
<!-- Was this page helpful? --> | ||
{% include "partials/content_next.html" %} | ||
<!-- Was this page helpful? --> | ||
{% include "partials/feedback.html" %} | ||
<!-- Comment system --> | ||
{% include "partials/comments.html" %} |
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,40 @@ | ||
<!-- Link to previous and/or next page --> | ||
{% if "navigation.content_next" in features %} | ||
{% if page.previous_page or page.next_page %} | ||
{% if page.meta and page.meta.hide %} | ||
{% set hidden = "hidden" if "footer" in page.meta.hide %} | ||
{% endif %} | ||
<nav class="md-footer__inner md-grid" aria-label="{{ lang.t('footer') }}" {{ hidden }}> | ||
<!-- Link to previous page --> | ||
{% if page.previous_page %} | ||
{% set direction = lang.t("footer.previous") %} | ||
<a href="{{ page.previous_page.url | url }}" class="md-footer__link md-footer__link--prev" | ||
aria-label="{{ direction }}: {{ page.previous_page.title | e }}" rel="prev"> | ||
<div class="md-footer__button md-icon">{% include ".icons/material/arrow-left.svg" %}</div> | ||
<kbd class="key-control prev">P</kbd> | ||
<div class="md-footer__title"> | ||
<div class="md-ellipsis"> | ||
<span class="md-footer__direction">{{ direction }}</span> | ||
{{ page.previous_page.title }} | ||
</div> | ||
</div> | ||
</a> | ||
{% endif %} | ||
<!-- Link to next page --> | ||
{% if page.next_page %} | ||
{% set direction = lang.t("footer.next") %} | ||
<a href="{{ page.next_page.url | url }}" class="md-footer__link md-footer__link--next" | ||
aria-label="{{ direction }}: {{ page.next_page.title | e }}" rel="next"> | ||
<div class="md-footer__title"> | ||
<div class="md-ellipsis"> | ||
<span class="md-footer__direction">{{ direction }}</span> | ||
{{ page.next_page.title }} | ||
</div> | ||
</div> | ||
<kbd class="key-control">N</kbd> | ||
<div class="md-footer__button md-icon">{% include ".icons/material/arrow-right.svg" %}</div> | ||
</a> | ||
{% endif %} | ||
</nav> | ||
{% endif %} | ||
{% endif %} |
Oops, something went wrong.