Sha256: 858a28be06e9a7c4c426c784e8e09d65740daf07f358868b6ac5a562e8d037a0
Contents?: true
Size: 1.43 KB
Versions: 12
Compression:
Stored size: 1.43 KB
Contents
<!-- Include all external libraries (that are bundled with Hematite) requested by the page --> {% include mermaid_includes.html %} {% include katex_includes.html %} <!-- Page/site-specific imports and configuration --> {{ site.additional_import_html | default: "" }} {{ layout.additional_import_html | default: "" }} {{ page.additional_import_html | default: "" }} {% comment %} Each [spec]=["key", { property: value, property2: value2, ... }] {% endcomment %} {% for spec in layout.additional_imports | concat: page.additional_imports %} {% assign target = spec[1] %} {% if target.type == 'js' or target.type == 'mjs' %} {% assign tag="script" %} {% assign url_spec = "src" %} {% assign options = "" %} {% else %} {% assign tag="link" %} {% assign options = "rel='stylesheet'" %} {% assign url_spec = "href" %} {% endif %} {% if target.type == 'mjs' %} {% assign options = "type = 'module'" %} {% endif %} {% if target.absolute_url %} {% assign url = target.absolute_url %} {% else %} {% assign url = target.url | relative_url %} {% endif %} {% if target.context and target.context != include.context %} {% else %} <{{ tag }} {{ options }} {{ target.inline_options | default: "" }} {{url_spec}}={{ url | jsonify }} onload={{ target.onload | default: "" | jsonify }}></{{tag}}> {% endif %} {% endfor %}
Version data entries
12 entries across 12 versions & 1 rubygems