if not hide_page_toc %}
          <div id="page-toc" class="toc-tree">
            {{toc}}
          </div>
          {% endif %}
        </div>
      </div>
      {%- include "partials/icons.html" -%}
    </div>
  </div>

  {%- block scripts -%}

  {# Custom JS #}
  {%- block regular_scripts -%}
  {% for path in script_files -%}
    {{ js_tag(path) }}
  {% endfor -%}
  {%- endblock regular_scripts -%}

  {# Theme-related JavaScript code #}
  {%- block theme_scripts -%}
  {%- endblock 