From baab3e11b0c46d4c5be03a5a979db86aae86426f Mon Sep 17 00:00:00 2001 From: zaaarf Date: Tue, 26 Dec 2023 13:06:27 +0100 Subject: [PATCH] feat: made css highlighting optional --- templates/head.html | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/templates/head.html b/templates/head.html index 55aa785..a1fc5ff 100644 --- a/templates/head.html +++ b/templates/head.html @@ -115,7 +115,9 @@ --codeLineColor: {% if config.extra.colors.light.code_line_color %}{{ config.extra.colors.light.code_line_color }}{% else %}#FFFFFF{% endif %}; } +{% if config.markdown.highlight_code and config.markdown.highlight_theme == "css" %} +{% endif %} {% endblock css %}