janispagel.de

Source code for https://janispagel.de
Log | Files | Refs | README | LICENSE

commit 1d1a469852036ceca5e449adf4fec63468f621ef
parent f963a18ca331f467d1bcd0d2981de115a81b478a
Author: Janis Pagel <janis.pagel@ims.uni-stuttgart.de>
Date:   Wed, 12 Aug 2020 03:28:20 +0200

Enable dark theme

Also make switching between light and dark theme more general

Diffstat:
M_config.yml | 1+
Massets/main.scss | 2+-
2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/_config.yml b/_config.yml @@ -13,6 +13,7 @@ # you will see them accessed via {{ site.title }}, {{ site.email }}, and so on. # You can create any custom variable you would like, and they will be accessible # in the templates via {{ site.myvariable }}. +skin: dark # Choose between "light" and "dark" title: Janis Pagel email: janis.pagel@ims.uni-stuttgart.de description: > # this means to ignore newlines until "baseurl:" diff --git a/assets/main.scss b/assets/main.scss @@ -2,5 +2,5 @@ # Only the main Sass file needs front matter (the dashes are enough) --- @import - "minima/skins/light", + "minima/skins/{{ site.skin }}", "minima";