From 119356da0f77ec711e694811ab5e3bc82e762624 Mon Sep 17 00:00:00 2001
From: Mole Shang <135e2@135e2.dev>
Date: Mon, 9 Feb 2026 20:03:59 +0800
Subject: templates/base: migrate to new giallo highlighting engine
---
templates/base.html | 13 +++----------
1 file changed, 3 insertions(+), 10 deletions(-)
(limited to 'templates')
diff --git a/templates/base.html b/templates/base.html
index 879ad7b..15f1dd7 100644
--- a/templates/base.html
+++ b/templates/base.html
@@ -33,20 +33,13 @@
{% if config.extra.seje_darkmode == "auto" %}
- {% if config.markdown.highlight_code and config.markdown.highlight_theme == "css" %}
-
-
+ {% if config.markdown.highlighting and config.markdown.highlighting.style == "class" %}
+
+
{% endif %}
{% elif config.extra.seje_darkmode == "always" %}
- {% if config.markdown.highlight_code and config.markdown.highlight_theme == "css" %}
-
- {% endif %}
- {% else %}
- {% if config.markdown.highlight_code and config.markdown.highlight_theme == "css" %}
-
- {% endif %}
{% endif %}
{% if config.extra.seje_vertical_layout %}
--
cgit v1.2.3