diff --git a/dist/base.html b/dist/base.html index 0c0d4fd5..4a0c0e0e 100644 --- a/dist/base.html +++ b/dist/base.html @@ -104,13 +104,17 @@ {% set features = config.theme.features or [] %} - +
{% if page.toc | first is defined %} {% set skip = page.toc | first %} {{ lang.t("action.skip") }} + {% else %} + + {{ lang.t("action.skip") }} + {% endif %}
diff --git a/dist/partials/content.html b/dist/partials/content.html index 48c79c81..15184a98 100644 --- a/dist/partials/content.html +++ b/dist/partials/content.html @@ -3,7 +3,7 @@ -#} {% include "partials/actions.html" %} {% if "\u003ch1" not in page.content %} -

{{ page.title | d(config.site_name, true)}}

+

{{ page.title | d(config.site_name, true)}}

{% endif %} {{ page.content }} {% include "partials/tags.html" %} diff --git a/dist/partials/header.html b/dist/partials/header.html index d8f255e1..b20b8615 100644 --- a/dist/partials/header.html +++ b/dist/partials/header.html @@ -12,7 +12,7 @@ -