mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2026-07-31 09:48:53 -04:00
Moved language and features to theme configuration
This commit is contained in:
@@ -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 %}
|
||||
|
||||
Reference in New Issue
Block a user