mirror of
https://mau.dev/andreijiroh-dev/website.git
synced 2024-12-01 12:33:40 +00:00
9ff4f89deb
Signed-off-by: Andrei Jiroh Halili <ajhalili2006@andreijiroh.eu.org>
37 lines
No EOL
1.5 KiB
HTML
37 lines
No EOL
1.5 KiB
HTML
{% if config.extra.deployment %}
|
|
<div class="admonition info">
|
|
{% if config.extra.deployment == "staging" %}
|
|
<p class="admonition-title">
|
|
You're previewing the staging build of @ajhalili2006's website on <a href="https://readthedocs.org/projects/ajhalili2006/builds">RTD Community</a>.
|
|
</p>
|
|
<p>
|
|
Deploys might be a bit faster there, but it may contain content not yet ready for production deployment or
|
|
we might skipped GitLab CI for the latest commit.
|
|
</p>
|
|
{% elif config.extra.deployment == "tilde" %}
|
|
<p class="admonition-title">You're viewing ~ajhalili2006's website from the tildeverse.</p>
|
|
<p>
|
|
This site build's content might be outdated due to failing CI, delayed synchorizations and local cache, among other reasons.
|
|
</p>
|
|
{% endif %}
|
|
<a class="md-button" href="https://andreijiroh.eu.org">Go back to production</a>
|
|
<a class="md-button" href="https://garden.andreijiroh.eu.org">Why am I seeing this?</a>
|
|
</div>
|
|
{% endif %}
|
|
{% if "material/tags" in config.plugins and tags %}
|
|
{% include "partials/tags.html" %}
|
|
{% endif %}
|
|
{% include "partials/actions.html" %}
|
|
{% if "\x3ch1" not in page.content %}
|
|
<h1>{{ page.title | d(config.site_name, true)}}</h1>
|
|
{% endif %}
|
|
{{ page.content }}
|
|
{% if page.meta and (
|
|
page.meta.git_revision_date_localized or
|
|
page.meta.revision_date
|
|
) %}
|
|
{% include "partials/source-file.html" %}
|
|
{% endif %}
|
|
{% include "partials/feedback.html" %}
|
|
{% include "partials/comments.html" %}
|
|
|