diff --git a/pagefind.yml b/pagefind.yml new file mode 100644 index 000000000..0f3276aca --- /dev/null +++ b/pagefind.yml @@ -0,0 +1,10 @@ +site: public +output_subdir: pagefind +exclude_selectors: + # Ignore codeblocks + - "code" + # Blocked due to https://github.com/Pagefind/pagefind/issues/1134 + # - "#that-s-all-i-know" + # - "#that-s-all-i-know-checkered-flag" + # - "#that-s-all-i-know+p" + # - "#that-s-all-i-know-checkered-flag+p" diff --git a/templates/docs/index.html b/templates/docs/index.html index 7445c2bf1..946946a23 100644 --- a/templates/docs/index.html +++ b/templates/docs/index.html @@ -1,6 +1,6 @@ {% extends "skel.html" %} {% block content %} -
+

{{ section.title }}

{% set iso_date = section.extra.updated | date(format = '%Y-%m-%d') %} diff --git a/templates/docs/with_menu.html b/templates/docs/with_menu.html index f580de326..58130306b 100644 --- a/templates/docs/with_menu.html +++ b/templates/docs/with_menu.html @@ -16,8 +16,8 @@ {% set root_section = get_section(path="docs/technical/_index.md") %} {% endif %} -
-
+
+
{% for doc_section_path in docs_sections.subsections %} {% set doc_section = get_section(path=doc_section_path) %} diff --git a/templates/includes/header.html b/templates/includes/header.html index b652624ac..f3c4ab337 100644 --- a/templates/includes/header.html +++ b/templates/includes/header.html @@ -7,6 +7,11 @@