2023-09-29 17:43:21 +00:00
|
|
|
{% if config.extra.deployment %}
|
|
|
|
<div class="admonition info">
|
|
|
|
{% if config.extra.deployment == "staging" %}
|
|
|
|
<p class="admonition-title">
|
2024-10-12 19:37:10 +00:00
|
|
|
You're previewing the staging build of @ajhalili2006's website on
|
|
|
|
<a href="https://readthedocs.org/projects/ajhalili2006/builds">RTD Community</a>.
|
2023-09-29 17:43:21 +00:00
|
|
|
</p>
|
|
|
|
<p>
|
2024-10-12 19:37:10 +00:00
|
|
|
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.
|
2023-09-29 17:43:21 +00:00
|
|
|
</p>
|
|
|
|
{% elif config.extra.deployment == "tilde" %}
|
|
|
|
<p class="admonition-title">You're viewing ~ajhalili2006's website from the tildeverse.</p>
|
|
|
|
<p>
|
2024-10-12 19:37:10 +00:00
|
|
|
This site build's content might be outdated due to failing CI, delayed synchorizations and
|
|
|
|
local cache, among other reasons.
|
2023-09-29 17:43:21 +00:00
|
|
|
</p>
|
|
|
|
{% endif %}
|
2024-06-07 11:35:29 +00:00
|
|
|
<a class="md-button" href="https://andreijiroh.xyz">Go back to production</a>
|
|
|
|
<a class="md-button" href="https://wiki.andreijiroh.xyz/garden/devops/website-deployment">Why am I seeing this?</a>
|
2023-09-29 17:43:21 +00:00
|
|
|
</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" %}
|
2024-06-07 11:35:29 +00:00
|
|
|
|