chore(global): update configs and minimal template updates

Signed-off-by: Andrei Jiroh Halili <ajhalili2006@andreijiroh.xyz>
This commit is contained in:
Andrei Jiroh Halili 2024-06-07 19:35:29 +08:00
parent a156d9df96
commit b23172c40d
No known key found for this signature in database
GPG key ID: 67BFC91B3DA12BE8
4 changed files with 9 additions and 8 deletions

View file

@ -1,6 +1,7 @@
INHERIT: mkdocs.yml
site_name: ~ajhalili2006 (staging website)
site_url: https://staging.andreijiroh.xyz/
docs_dir: markdown
site_dir: public
extra:
deployment: staging # for the announcement banner
deployment: staging # for the announcement banner

View file

@ -19,7 +19,7 @@ repo_name: source code
# navbar
nav:
- Home:
- Home:
- index.md
- nowpage: now.md
- Contact: contact/index.md

View file

@ -14,7 +14,7 @@
If this is not intended to happen, please report this as a bug in the webiste's issue tracker. Otherwise, you can press back
on your browser or go back to homepage.
</p>
<a class="md-button" href="https://mau.dev/andreijiroh.dev/website/-/issues/new/?issue[title]=Broken link in <URL>">Report this broken link</a>
<a class="md-button" href="https://mau.dev/andreijiroh-dev/website/-/issues/new/?issue[title]=Broken link in <URL>">Report this broken link</a>
<a class="md-button" href="/">Go back home</a>
<h2>Troubleshooting tips</h2>
<p>Try checking the URL for any misspellings or improper use of dashes, underscores and periods.</p>
@ -23,8 +23,8 @@
try <a href="https://pypi.org/project/mkdocs-redirects/">configuring redirects in the Mkdocs config first</a>.
</p>
<p>
Depending on the site version you're viewing, you may need to switch between <a href="https://andreijiroh.eu.org">production</a>
and <a href="https://staging.andreijiroh.eu.org">staging</a> versions of the website. (The tilde versions of the site may be
Depending on the site version you're viewing, you may need to switch between <a href="https://andreijiroh.xyz">production</a>
and <a href="https://staging.andreijiroh.xyz">staging</a> versions of the website. (The tilde versions of the site may be
may lag behind Cloudflare Pages deploys.)
</p>
{% endblock %}

View file

@ -14,8 +14,8 @@
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>
<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>
</div>
{% endif %}
{% if "material/tags" in config.plugins and tags %}
@ -34,4 +34,4 @@ page.meta.revision_date
{% endif %}
{% include "partials/feedback.html" %}
{% include "partials/comments.html" %}