aboutsummaryrefslogtreecommitdiff
path: root/theme/templates/base.html
diff options
context:
space:
mode:
authorChristian Cleberg <[email protected]>2026-08-03 15:05:53 -0500
committerChristian Cleberg <[email protected]>2026-08-03 15:05:53 -0500
commit681a290e9ec232296cafee94ac76aa269a11b5bd (patch)
treec5fcfd61af3c6ad891b5e92a2b862c190199a67a /theme/templates/base.html
parent217c25c8f247de3dedc5249bc5f6de17a8a8ef4d (diff)
downloadcleberg.net-681a290e9ec232296cafee94ac76aa269a11b5bd.tar.gz
cleberg.net-681a290e9ec232296cafee94ac76aa269a11b5bd.tar.bz2
cleberg.net-681a290e9ec232296cafee94ac76aa269a11b5bd.zip
serve stylesheet from root-relative path
Emit /styles.min.css instead of the prod-absolute https://cleberg.net/styles.min.css so the onion renders standalone without fetching its stylesheet off-onion. Drop the now-dead build.py replace that rewrote the same string.
Diffstat (limited to 'theme/templates/base.html')
-rw-r--r--theme/templates/base.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/theme/templates/base.html b/theme/templates/base.html
index bcced95..68ff487 100644
--- a/theme/templates/base.html
+++ b/theme/templates/base.html
@@ -9,7 +9,7 @@
{% if site_description is defined %}<meta name="description" content="{{ site_description }}">{% endif %}
{% if site_keywords is defined %}<meta name="keywords" content="{{ site_keywords }}">{% endif %}
<link rel="alternate" type="application/rss+xml" title="cleberg.net" href="/feed.xml">
- <link rel="stylesheet" href="{{ url_for("static", file="styles.min.css") }}" type="text/css">
+ <link rel="stylesheet" href="/styles.min.css" type="text/css">
<link rel="icon" href="data:,">
{% block meta %}{% endblock %}
{% endblock %}