this repo has no description

chore: use CSS "theme" for syntax colouring

Changed files
+6 -1
templates
+5 -1
config.toml
···
[markdown]
highlight_code = true
-
highlight_theme = "nord"
+
highlight_theme = "css"
+
# TODO: Write custom theme that will fit the overall colouring better
+
highlight_themes_css = [
+
{ theme = "nord", filename = "syntax-theme.css" },
+
]
[extra]
author = "Hauleth"
+1
templates/index.html
···
{% block css %}
<link rel="stylesheet" type="text/css" href="/style.css" />
+
<link rel="stylesheet" type="text/css" href="/syntax-theme.css" />
{% if config.extra.theme_color != "orange" -%}
{% set color = "/color/" ~ config.extra.theme_color ~ ".css" -%}
<link rel="stylesheet" type="text/css" href="{{ color }}" />