Moved language and features to theme configuration

This commit is contained in:
squidfunk
2017-10-31 18:51:54 +01:00
committed by Martin Donath
parent a5d90ea2a9
commit 5fbba74c80
7 changed files with 29 additions and 30 deletions

View File

@@ -23,6 +23,7 @@
{% import "partials/language.html" as lang with context %}
<!-- Theme options -->
{% set feature = config.theme.feature %}
{% set palette = config.theme.palette %}
{% set font = config.theme.font %}
@@ -200,7 +201,6 @@
<!-- Container, necessary for web-application context -->
<div class="md-container">
{% set feature = config.extra.get("feature", {}) %}
<!-- Tabs with outline -->
{% if feature.tabs %}