~ajhalili2006's personal website, built with Zensical (successor of Material for Mkdocs) [old repo name got bugged while attempting to do manual knot migration via repo deletion] andreijiroh.dev
zensical mkdocs-material website
at main 1.5 kB view raw
1{% if config.extra.deployment %} 2<div class="admonition info"> 3 {% if config.extra.deployment == "staging" %} 4 <p class="admonition-title"> 5 You're previewing the staging build of @ajhalili2006's website on 6 <a href="https://readthedocs.org/projects/ajhalili2006/builds">RTD Community</a>. 7 </p> 8 <p> 9 Deploys might be a bit faster there, but it may contain content not yet ready for 10 production deployment or we might skipped GitLab CI for the latest commit. 11 </p> 12 {% elif config.extra.deployment == "tilde" %} 13 <p class="admonition-title">You're viewing ~ajhalili2006's website from the tildeverse.</p> 14 <p> 15 This site build's content might be outdated due to failing CI, delayed synchorizations and 16 local cache, among other reasons. 17 </p> 18 {% endif %} 19 <a class="md-button" href="https://andreijiroh.xyz">Go back to production</a> 20 <a class="md-button" href="https://wiki.andreijiroh.xyz/garden/devops/website-deployment">Why am I seeing this?</a> 21</div> 22{% endif %} 23 24 {% if "material/tags" in config.plugins and tags %} 25 {% include "partials/tags.html" %} 26 {% endif %} 27 {% include "partials/actions.html" %} 28 {% if "\x3ch1" not in page.content %} 29 <h1>{{ page.title | d(config.site_name, true)}}</h1> 30 {% endif %} 31 {{ page.content }} 32 {% include "partials/source-file.html" %} 33 {% include "partials/feedback.html" %} 34 {% include "partials/comments.html" %} 35