Improved compatibility with Insiders

This commit is contained in:
squidfunk 2020-09-03 23:21:17 +02:00
parent da4e2f42c4
commit db00455b67
2 changed files with 6 additions and 0 deletions

View File

@ -3,6 +3,9 @@
-#}
{% import "partials/language.html" as lang with context %}
{% set palette = config.theme.palette %}
{% if not palette is mapping %}
{% set palette = palette | first %}
{% endif %}
{% set font = config.theme.font %}
<!doctype html>
<html lang="{{ lang.t('language') }}" class="no-js">

View File

@ -24,6 +24,9 @@
<!-- Theme options -->
{% set palette = config.theme.palette %}
{% if not palette is mapping %}
{% set palette = palette | first %}
{% endif %}
{% set font = config.theme.font %}
<!doctype html>