-
Notifications
You must be signed in to change notification settings - Fork 1
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
5624c38
commit 9674882
Showing
7 changed files
with
212 additions
and
178 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 was deleted.
Oops, something went wrong.
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,90 @@ | ||
<!-- | ||
Copyright (c) 2016-2023 Martin Donath <[email protected]> | ||
Permission is hereby granted, free of charge, to any person obtaining a copy | ||
of this software and associated documentation files (the "Software"), to | ||
deal in the Software without restriction, including without limitation the | ||
rights to use, copy, modify, merge, publish, distribute, sublicense, and/or | ||
sell copies of the Software, and to permit persons to whom the Software is | ||
furnished to do so, subject to the following conditions: | ||
The above copyright notice and this permission notice shall be included in | ||
all copies or substantial portions of the Software. | ||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL THE | ||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING | ||
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS | ||
IN THE SOFTWARE. | ||
--> | ||
|
||
<!-- Tags --> | ||
{% if "material/tags" in config.plugins and tags %} | ||
{% 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 %} | ||
|
||
{% if page.meta.reviewdate %} | ||
{% set build_date = build_date_utc.strftime('%Y-%m-%d') %} | ||
{% set review_date = page.meta.reviewdate %} | ||
{% set page_url = page.url | urlencode %} | ||
{% set page_title = page.title | urlencode %} | ||
{% if review_date < build_date %} | ||
<div class="admonition warning" role="alert"> | ||
<div class="admonition-title">Outdated page</div> | ||
<div class="admonition-content"> | ||
<p>This page was set to be reviewed before {{ page.meta.reviewdate }} by the page owner. | ||
<br> | ||
<br> | ||
<a href="mailto:[email protected]?subject=Page%3A%20{{page_title}}%20is%20outdated&body=Hello%2C%0D%0A%0D%0AThe%20page%20{{ page_url }}%20is%20outdated.%0D%0A%0D%0APlease%20update%20it.">Contact the page Owner (opens default mail client)</a> if you require this page to be updated | ||
</div> | ||
</div> | ||
{% endif %} | ||
{% endif %} | ||
{% if page.meta.outdated %} | ||
{% set page_url = page.url | urlencode %} | ||
{% set page_title = page.title | urlencode %} | ||
<div class="admonition warning" role="alert"> | ||
<div class="admonition-title">No longer maintained</div> | ||
<div class="admonition-content"> | ||
<p>This page no longer gets active maintenance | ||
<br> | ||
<br> | ||
<a href="mailto:[email protected]?subject=Page%3A%20{{page_title}}%20is%20outdated&body=Hello%2C%0D%0A%0D%0AThe%20page%20{{ page_url }}%20is%20outdated.%0D%0A%0D%0APlease%20update%20it.">Contact the page Owner (opens default mail client)</a> if you require this page to be updated | ||
</div> | ||
</div> | ||
{% endif %} | ||
|
||
<!-- Page content --> | ||
{{ page.content }} | ||
|
||
{% if 'index.md' not in page.file.src_uri %} | ||
|
||
<hr> | ||
If you found "<i>{{ page.title }}</i>" useful, <a href="https://www.buymeacoffee.com/userbradley">please consider supporting me!</a> | ||
{% endif %} | ||
<!-- 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/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,15 @@ | ||
<!-- Matomo --> | ||
<script> | ||
var _paq = window._paq = window._paq || []; | ||
/* tracker methods like "setCustomDimension" should be called before "trackPageView" */ | ||
_paq.push(['trackPageView']); | ||
_paq.push(['enableLinkTracking']); | ||
(function() { | ||
var u="//trace-agent.breadnet.co.uk/"; | ||
_paq.push(['setTrackerUrl', u+'matomo.php']); | ||
_paq.push(['setSiteId', '17']); | ||
var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0]; | ||
g.async=true; g.src=u+'matomo.js'; s.parentNode.insertBefore(g,s); | ||
})(); | ||
</script> | ||
<!-- End Matomo Code --> |
This file was deleted.
Oops, something went wrong.
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,90 @@ | ||
<!-- | ||
Copyright (c) 2016-2023 Martin Donath <[email protected]> | ||
Permission is hereby granted, free of charge, to any person obtaining a copy | ||
of this software and associated documentation files (the "Software"), to | ||
deal in the Software without restriction, including without limitation the | ||
rights to use, copy, modify, merge, publish, distribute, sublicense, and/or | ||
sell copies of the Software, and to permit persons to whom the Software is | ||
furnished to do so, subject to the following conditions: | ||
The above copyright notice and this permission notice shall be included in | ||
all copies or substantial portions of the Software. | ||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL THE | ||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING | ||
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS | ||
IN THE SOFTWARE. | ||
--> | ||
|
||
<!-- Tags --> | ||
{% if "material/tags" in config.plugins and tags %} | ||
{% 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 %} | ||
|
||
{% if page.meta.reviewdate %} | ||
{% set build_date = build_date_utc.strftime('%Y-%m-%d') %} | ||
{% set review_date = page.meta.reviewdate %} | ||
{% set page_url = page.url | urlencode %} | ||
{% set page_title = page.title | urlencode %} | ||
{% if review_date < build_date %} | ||
<div class="admonition warning" role="alert"> | ||
<div class="admonition-title">Outdated page</div> | ||
<div class="admonition-content"> | ||
<p>This page was set to be reviewed before {{ page.meta.reviewdate }} by the page owner. | ||
<br> | ||
<br> | ||
<a href="mailto:[email protected]?subject=Page%3A%20{{page_title}}%20is%20outdated&body=Hello%2C%0D%0A%0D%0AThe%20page%20{{ page_url }}%20is%20outdated.%0D%0A%0D%0APlease%20update%20it.">Contact the page Owner (opens default mail client)</a> if you require this page to be updated | ||
</div> | ||
</div> | ||
{% endif %} | ||
{% endif %} | ||
{% if page.meta.outdated %} | ||
{% set page_url = page.url | urlencode %} | ||
{% set page_title = page.title | urlencode %} | ||
<div class="admonition warning" role="alert"> | ||
<div class="admonition-title">No longer maintained</div> | ||
<div class="admonition-content"> | ||
<p>This page no longer gets active maintenance | ||
<br> | ||
<br> | ||
<a href="mailto:[email protected]?subject=Page%3A%20{{page_title}}%20is%20outdated&body=Hello%2C%0D%0A%0D%0AThe%20page%20{{ page_url }}%20is%20outdated.%0D%0A%0D%0APlease%20update%20it.">Contact the page Owner (opens default mail client)</a> if you require this page to be updated | ||
</div> | ||
</div> | ||
{% endif %} | ||
|
||
<!-- Page content --> | ||
{{ page.content }} | ||
|
||
{% if 'index.md' not in page.file.src_uri %} | ||
|
||
<hr> | ||
If you found "<i>{{ page.title }}</i>" useful, <a href="https://www.buymeacoffee.com/userbradley">please consider supporting me!</a> | ||
{% endif %} | ||
<!-- 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/feedback.html" %} | ||
|
||
<!-- Comment system --> | ||
{% include "partials/comments.html" %} |
Oops, something went wrong.