Documentation

This commit is contained in:
squidfunk 2020-10-04 18:54:48 +02:00
parent 454339bd35
commit ae3a372805
2 changed files with 2 additions and 2 deletions

View File

@ -20,7 +20,7 @@
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 %}
{% if not config.use_directory_urls and site_url == "." %}
{% set site_url = site_url ~ "/index.html" %}

View File

@ -20,7 +20,7 @@
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 %}
{% if not config.use_directory_urls and site_url == "." %}
{% set site_url = site_url ~ "/index.html" %}