mirror of
https://mau.dev/andreijiroh-dev/website.git
synced 2025-05-08 14:43:10 +00:00
chore(overrides): migrate deployment specific banner outside announcements
Signed-off-by: Andrei Jiroh Halili <ajhalili2006@andreijiroh.eu.org>
This commit is contained in:
parent
f4e605152a
commit
f21d3f10b6
3 changed files with 67 additions and 23 deletions
|
@ -10,23 +10,28 @@ SPDX-License-Identifier: MIT
|
|||
{% endblock %}
|
||||
<!-- Staging build -->
|
||||
{% block announce %}
|
||||
{% if config.extra.deployment == "staging" %}
|
||||
You're previewig the staging build of @ajhalili2006's website on <a href="https://readthedocs.org">RTD Community</a>. <strong><a href="https://andreijiroh.eu.org">Go back to production</a></strong>
|
||||
{% else %}
|
||||
For updates follow <strong>@ajhalili2006</strong> on
|
||||
<a rel="me" href="https://tilde.zone/@ajhalili2006">
|
||||
<span class="twemoji mastodon">
|
||||
{% include ".icons/fontawesome/brands/mastodon.svg" %}
|
||||
</span>
|
||||
<strong>the tildeverse</strong>
|
||||
</a>
|
||||
and
|
||||
<a href="https://substack.com/@ajhalili2006">
|
||||
<span class="twemoji substack">
|
||||
{% include ".icons/simple/substack.svg" %}
|
||||
</span>
|
||||
<strong>Substack</strong>
|
||||
</a>
|
||||
{% endif %}
|
||||
For updates follow <strong>@ajhalili2006</strong> on
|
||||
<a rel="me" href="https://tilde.zone/@ajhalili2006">
|
||||
<span class="twemoji mastodon">
|
||||
{% include ".icons/fontawesome/brands/mastodon.svg" %}
|
||||
</span>
|
||||
<strong>the tildeverse</strong>
|
||||
</a>
|
||||
and
|
||||
<a href="https://substack.com/@ajhalili2006">
|
||||
<span class="twemoji substack">
|
||||
{% include ".icons/simple/substack.svg" %}
|
||||
</span>
|
||||
<strong>Substack</strong>
|
||||
</a>
|
||||
{% endblock %}
|
||||
{% block container %}
|
||||
<div class="md-content" data-md-component="content">
|
||||
<article class="md-content__inner md-typeset">
|
||||
{% block content %}
|
||||
{% include "partials/content.html" %}
|
||||
{% endblock %}
|
||||
</article>
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue