diff --git a/templates/base.html b/templates/base.html index 28afc98..a6721fc 100644 --- a/templates/base.html +++ b/templates/base.html @@ -36,7 +36,12 @@ {% endif %} - + + diff --git a/templates/partial/flex.html b/templates/partial/flex.html index 3a963a1..16dd454 100644 --- a/templates/partial/flex.html +++ b/templates/partial/flex.html @@ -22,8 +22,8 @@ } console.log(`Switching theme to ${theme}.`) - // Find the pygments CSS file and change it to the theme specified in the - // config. + // Find the pygments CSS files (there are two, one for each theme) and + // change them both to the theme specified by the user. const pygmentsTheme = theme === 'light' ? '{{ PYGMENTS_STYLE }}' : '{{ PYGMENTS_STYLE_DARK or PYGMENTS_STYLE }}'