My personal blog hauleth.dev
blog
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

chore: use CSS "theme" for syntax colouring

+6 -1
+5 -1
config.toml
··· 17 17 18 18 [markdown] 19 19 highlight_code = true 20 - highlight_theme = "nord" 20 + highlight_theme = "css" 21 + # TODO: Write custom theme that will fit the overall colouring better 22 + highlight_themes_css = [ 23 + { theme = "nord", filename = "syntax-theme.css" }, 24 + ] 21 25 22 26 [extra] 23 27 author = "Hauleth"
+1
templates/index.html
··· 24 24 25 25 {% block css %} 26 26 <link rel="stylesheet" type="text/css" href="/style.css" /> 27 + <link rel="stylesheet" type="text/css" href="/syntax-theme.css" /> 27 28 {% if config.extra.theme_color != "orange" -%} 28 29 {% set color = "/color/" ~ config.extra.theme_color ~ ".css" -%} 29 30 <link rel="stylesheet" type="text/css" href="{{ color }}" />