mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-11-24 07:30:12 +01:00
Adjusted checks for plugins in templates
This commit is contained in:
parent
fee799a759
commit
4b51fa21a8
@ -1,7 +1,7 @@
|
|||||||
{#-
|
{#-
|
||||||
This file was automatically generated - do not edit
|
This file was automatically generated - do not edit
|
||||||
-#}
|
-#}
|
||||||
{% if "tags" in config.plugins %}
|
{% if "material/tags" in config.plugins %}
|
||||||
{% include "partials/tags.html" %}
|
{% include "partials/tags.html" %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% include "overrides/partials/actions.html" %}
|
{% include "overrides/partials/actions.html" %}
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
{#-
|
{#-
|
||||||
This file was automatically generated - do not edit
|
This file was automatically generated - do not edit
|
||||||
-#}
|
-#}
|
||||||
{% if "tags" in config.plugins %}
|
{% if "material/tags" in config.plugins %}
|
||||||
{% include "partials/tags.html" %}
|
{% include "partials/tags.html" %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% include "partials/actions.html" %}
|
{% include "partials/actions.html" %}
|
||||||
|
@ -66,7 +66,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if "search" in config.plugins %}
|
{% if "material/search" in config.plugins %}
|
||||||
<label class="md-header__button md-icon" for="__search">
|
<label class="md-header__button md-icon" for="__search">
|
||||||
{% include ".icons/material/magnify.svg" %}
|
{% include ".icons/material/magnify.svg" %}
|
||||||
</label>
|
</label>
|
||||||
|
@ -47,9 +47,9 @@ classifiers = [
|
|||||||
]
|
]
|
||||||
|
|
||||||
[project.entry-points."mkdocs.plugins"]
|
[project.entry-points."mkdocs.plugins"]
|
||||||
material/search = "material.plugins.search.plugin:SearchPlugin"
|
"material/search" = "material.plugins.search.plugin:SearchPlugin"
|
||||||
material/social = "material.plugins.social.plugin:SocialPlugin"
|
"material/social" = "material.plugins.social.plugin:SocialPlugin"
|
||||||
material/tags = "material.plugins.tags.plugin:TagsPlugin"
|
"material/tags" = "material.plugins.tags.plugin:TagsPlugin"
|
||||||
|
|
||||||
[project.entry-points."mkdocs.themes"]
|
[project.entry-points."mkdocs.themes"]
|
||||||
material = "material"
|
material = "material"
|
||||||
|
@ -21,7 +21,7 @@
|
|||||||
-->
|
-->
|
||||||
|
|
||||||
<!-- Tags -->
|
<!-- Tags -->
|
||||||
{% if "tags" in config.plugins %}
|
{% if "material/tags" in config.plugins %}
|
||||||
{% include "partials/tags.html" %}
|
{% include "partials/tags.html" %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
|
@ -21,7 +21,7 @@
|
|||||||
-->
|
-->
|
||||||
|
|
||||||
<!-- Tags -->
|
<!-- Tags -->
|
||||||
{% if "tags" in config.plugins %}
|
{% if "material/tags" in config.plugins %}
|
||||||
{% include "partials/tags.html" %}
|
{% include "partials/tags.html" %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
|
@ -135,7 +135,7 @@
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
<!-- Button to open search modal -->
|
<!-- Button to open search modal -->
|
||||||
{% if "search" in config.plugins %}
|
{% if "material/search" in config.plugins %}
|
||||||
<label class="md-header__button md-icon" for="__search">
|
<label class="md-header__button md-icon" for="__search">
|
||||||
{% include ".icons/material/magnify.svg" %}
|
{% include ".icons/material/magnify.svg" %}
|
||||||
</label>
|
</label>
|
||||||
|
Loading…
Reference in New Issue
Block a user