-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix: Page latest update showing last commit on general repo
- Loading branch information
1 parent
3e46e3e
commit 3ca7635
Showing
4 changed files
with
26 additions
and
2 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
Binary file not shown.
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,21 @@ | ||
<!-- Overwrites content.html base mkdocs theme, taken from | ||
https://github.com/mkdocs/mkdocs/blob/master/mkdocs/themes/mkdocs/content.html --> | ||
|
||
{% if page.meta.source %} | ||
<div class="source-links"> | ||
{% for filename in page.meta.source %} | ||
<span class="label label-primary">{{ filename }}</span> | ||
{% endfor %} | ||
</div> | ||
{% endif %} | ||
|
||
{{ page.content }} | ||
|
||
<!-- This section adds support for localized revision dates --> | ||
{% if page.meta.git_revision_date_localized %} | ||
<small>Last update: {{ page.meta.git_revision_date_localized }}</small> | ||
{% endif %} | ||
{% if page.meta.git_created_date_localized %} | ||
<small>Created: {{ page.meta.git_created_date_localized }}</small> | ||
{% endif %} | ||
|
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