Added distribution files

This commit is contained in:
squidfunk
2025-03-02 16:36:56 +07:00
parent 27ba95652a
commit 6a496186ff
2 changed files with 2 additions and 2 deletions

View File

@@ -8,7 +8,7 @@
</span>
</a>
{% if toc_item.children %}
<nav class="md-nav" aria-label="{{ toc_item.title | striptags }}">
<nav class="md-nav" aria-label="{{ toc_item.title | striptags | e }}">
<ul class="md-nav__list">
{% for toc_item in toc_item.children %}
{% include "partials/toc-item.html" %}

View File

@@ -5,7 +5,7 @@
{% if config.mdx_configs.toc and config.mdx_configs.toc.title %}
{% set title = config.mdx_configs.toc.title %}
{% endif %}
<nav class="md-nav md-nav--secondary" aria-label="{{ title }}">
<nav class="md-nav md-nav--secondary" aria-label="{{ title | e }}">
{% set toc = page.toc %}
{% set first = toc | first %}
{% if first and first.level == 1 %}