128 lines
4.1 KiB
Plaintext
128 lines
4.1 KiB
Plaintext
<!-- Metadata, OpenGraph and Schema.org -->
|
|
{% include metadata.liquid %}
|
|
|
|
<!-- Bootstrap & MDB -->
|
|
<link rel="stylesheet" href="{{ '/assets/css/bootstrap.min.css' | relative_url | bust_file_cache }}">
|
|
<!-- <link rel="stylesheet" href="{{ '/assets/css/mdb.min.css' | relative_url | bust_file_cache }}"> -->
|
|
<link
|
|
rel="stylesheet"
|
|
href="https://cdn.jsdelivr.net/npm/mdbootstrap@{{ site.mdb.version }}/css/mdb.min.css"
|
|
integrity="{{ site.mdb.integrity.css }}"
|
|
crossorigin="anonymous"
|
|
>
|
|
|
|
<!-- Bootstrap Table -->
|
|
{% if page.pretty_table %}
|
|
<link defer rel="stylesheet" href="https://unpkg.com/bootstrap-table@{{ site.bootstrap-table.version }}/dist/bootstrap-table.min.css">
|
|
{% endif %}
|
|
|
|
<!-- Fonts & Icons -->
|
|
<link defer rel="stylesheet" href="{{ '/assets/css/academicons.min.css' | relative_url | bust_file_cache }}">
|
|
<link
|
|
defer
|
|
rel="stylesheet"
|
|
type="text/css"
|
|
href="https://fonts.googleapis.com/css?family=Roboto:300,400,500,700|Roboto+Slab:100,300,400,500,700|Material+Icons&display=swap"
|
|
>
|
|
|
|
<!-- Code Syntax Highlighting -->
|
|
<link
|
|
defer
|
|
rel="stylesheet"
|
|
href="{{ '/assets/css/jekyll-pygments-themes-github.css' | relative_url | bust_file_cache }}"
|
|
media=""
|
|
id="highlight_theme_light"
|
|
>
|
|
|
|
{% if page.toc and page.toc.sidebar %}
|
|
<!-- Sidebar Table of Contents -->
|
|
<link defer href="{{ '/assets/css/bootstrap-toc.min.css' | relative_url | bust_file_cache }}" rel="stylesheet">
|
|
{% endif %}
|
|
|
|
<!-- Styles -->
|
|
{% if site.icon.size <= 4 %}
|
|
<link
|
|
rel="shortcut icon"
|
|
href="data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 100 100%22><text y=%22.9em%22 font-size=%2290%22>{{ site.icon }}</text></svg>"
|
|
>
|
|
{% elsif site.icon != blank %}
|
|
<link rel="shortcut icon" href="{{ site.icon | prepend: '/assets/img/' | relative_url | bust_file_cache}}">
|
|
{% endif %}
|
|
<link rel="stylesheet" href="{{ '/assets/css/main.css' | relative_url | bust_css_cache }}">
|
|
<link rel="canonical" href="{{ page.url | replace:'index.html','' | absolute_url }}">
|
|
|
|
<!-- Dark Mode -->
|
|
{% if site.enable_darkmode %}
|
|
<link
|
|
defer
|
|
rel="stylesheet"
|
|
href="{{ '/assets/css/jekyll-pygments-themes-native.css' | relative_url | bust_file_cache }}"
|
|
media="none"
|
|
id="highlight_theme_dark"
|
|
>
|
|
<script src="{{ '/assets/js/theme.js' | relative_url | bust_file_cache }}"></script>
|
|
{% endif %}
|
|
|
|
<!-- GeoJSON support via Leaflet -->
|
|
{% if page.map %}
|
|
<link
|
|
defer
|
|
rel="stylesheet"
|
|
href="https://unpkg.com/leaflet@{{ site.leaflet.version }}/dist/leaflet.css"
|
|
integrity="{{ site.leaflet.integrity.css }}"
|
|
crossorigin=""
|
|
>
|
|
{% endif %}
|
|
|
|
<!-- diff2html -->
|
|
{% if page.code_diff %}
|
|
<link
|
|
defer
|
|
rel="stylesheet"
|
|
href="https://cdn.jsdelivr.net/npm/highlight.js@{{ site.highlightjs.version }}/styles/github.min.css"
|
|
integrity="{{ site.highlightjs.integrity.css.light }}"
|
|
crossorigin="anonymous"
|
|
media="screen and (prefers-color-scheme: light)"
|
|
>
|
|
<link
|
|
defer
|
|
rel="stylesheet"
|
|
href="https://cdn.jsdelivr.net/npm/highlight.js@{{ site.highlightjs.version }}/styles/github-dark.min.css"
|
|
integrity="{{ site.highlightjs.integrity.css.dark }}"
|
|
crossorigin="anonymous"
|
|
media="screen and (prefers-color-scheme: dark)"
|
|
>
|
|
<link
|
|
defer
|
|
rel="stylesheet"
|
|
href="https://cdn.jsdelivr.net/npm/diff2html@{{ site.diff2html.version }}/bundles/css/diff2html.min.css"
|
|
integrity="{{ site.diff2html.integrity.css }}"
|
|
crossorigin="anonymous"
|
|
>
|
|
{% endif %}
|
|
|
|
{% if page.images %}
|
|
<!-- Image comparison slider -->
|
|
{% if page.images.compare %}
|
|
<link
|
|
defer
|
|
rel="stylesheet"
|
|
href="https://cdn.jsdelivr.net/npm/img-comparison-slider@{{ site.img-comparison-slider.version }}/dist/styles.min.css"
|
|
>
|
|
{% endif %}
|
|
<!-- Image slider -->
|
|
{% if page.images.slider %}
|
|
<link
|
|
defer
|
|
rel="stylesheet"
|
|
href="https://cdn.jsdelivr.net/npm/swiper@{{ site.swiper.version }}/swiper-bundle.min.css"
|
|
integrity="{{ site.swiper.integrity.css }}"
|
|
crossorigin="anonymous"
|
|
>
|
|
{% endif %}
|
|
{% endif %}
|
|
|
|
{% if page.tikzjax %}
|
|
<link defer rel="stylesheet" type="text/css" href="https://tikzjax.com/v1/fonts.css">
|
|
{% endif %}
|