Sha256: 833186d4a5bdb5b1434a1114c0f07b96d4a9c0feada2a9817d0da7a5a242c75a
Contents?: true
Size: 1.34 KB
Versions: 1
Compression:
Stored size: 1.34 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 %} <{{ tag }} {{ options }} {{ target.inline_options | default: "" }} {{url_spec}}={{ url | jsonify }} onload={{ target.onload | default: "" | jsonify }}></{{tag}}> {% endfor %}
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
hematite-0.1.6 | _includes/extern_library_imports.html |