mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-06-14 11:52:32 +03:00
Improved compatibility with Insiders
This commit is contained in:
parent
da4e2f42c4
commit
db00455b67
@ -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">
|
||||
|
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user