mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-06-14 11:52:32 +03:00
Documentation
This commit is contained in:
parent
454339bd35
commit
ae3a372805
@ -20,7 +20,7 @@
|
|||||||
IN THE SOFTWARE.
|
IN THE SOFTWARE.
|
||||||
-->
|
-->
|
||||||
|
|
||||||
<!-- Determine site url to mitigate a MkDocs bugs -->
|
<!-- Mitigate bug: https://github.com/mkdocs/mkdocs/issues/2191 -->
|
||||||
{% set site_url = config.site_url | default(nav.homepage.url, true) | url %}
|
{% set site_url = config.site_url | default(nav.homepage.url, true) | url %}
|
||||||
{% if not config.use_directory_urls and site_url == "." %}
|
{% if not config.use_directory_urls and site_url == "." %}
|
||||||
{% set site_url = site_url ~ "/index.html" %}
|
{% set site_url = site_url ~ "/index.html" %}
|
||||||
|
@ -20,7 +20,7 @@
|
|||||||
IN THE SOFTWARE.
|
IN THE SOFTWARE.
|
||||||
-->
|
-->
|
||||||
|
|
||||||
<!-- Determine site url to mitigate a MkDocs bugs -->
|
<!-- Mitigate bug: https://github.com/mkdocs/mkdocs/issues/2191 -->
|
||||||
{% set site_url = config.site_url | default(nav.homepage.url, true) | url %}
|
{% set site_url = config.site_url | default(nav.homepage.url, true) | url %}
|
||||||
{% if not config.use_directory_urls and site_url == "." %}
|
{% if not config.use_directory_urls and site_url == "." %}
|
||||||
{% set site_url = site_url ~ "/index.html" %}
|
{% set site_url = site_url ~ "/index.html" %}
|
||||||
|
Loading…
Reference in New Issue
Block a user