{# This block should set html_title appropriately -#} {% block title %} {% endblock title -%} {{ html_title | default(value=config.title) | safe }} {% if current_url %} {% endif %} {#TODO: only generate this for the home page #} {# Uncomment in development to be able to play with TailwindCSS utility classes directly from inspect #} {# #} {% set nav_names = ["docs", "reference", "patterns", "help", "essays"] %} {% set nav_descriptions = ["Complete guide and tutorials", "API reference (attributes, headers, etc.)", "Common patterns and examples", "Help and community questions", "Essays about hypermedia"] %}
</> htmx
🚧 htmx 4.0 is under construction. Read changes → {% set table_of_contents = (page and page.extra.table_of_contents) or (section and section.extra.table_of_contents) %}
{% if table_of_contents %} {% include "table_of_contents.html" %} {% endif %}
{% block content %} {% endblock content -%}