diff options
| author | Jieiku | 2023-08-22 14:43:59 -0700 |
|---|---|---|
| committer | Jieiku | 2023-08-22 14:43:59 -0700 |
| commit | 3f5567573bf002e1c8f8c8448bc8d9433d216d24 (patch) | |
| tree | bd41e4c94e2def8d62385da154aeb2a25b5e6206 /templates | |
| parent | 61f2e1c3ac343163a5361686ad529c7039387310 (diff) | |
| download | abridge-3f5567573bf002e1c8f8c8448bc8d9433d216d24.tar.gz abridge-3f5567573bf002e1c8f8c8448bc8d9433d216d24.tar.bz2 abridge-3f5567573bf002e1c8f8c8448bc8d9433d216d24.zip | |
update icons alternative unicode
Diffstat (limited to 'templates')
| -rw-r--r-- | templates/macros/head.html | 4 | ||||
| -rw-r--r-- | templates/macros/macros.html | 16 |
2 files changed, 12 insertions, 8 deletions
diff --git a/templates/macros/head.html b/templates/macros/head.html index 2c85f16..673954b 100644 --- a/templates/macros/head.html +++ b/templates/macros/head.html @@ -95,7 +95,11 @@ {%- if config.extra.js_bundle %} + {%- if config.build_search_index %} <script defer src="{{ get_url(path='js/abridge.min.js', trailing_slash=false, cachebust=true) | safe }}"{%- if config.extra.integrity | default(value=true) %} integrity="sha384-{{ get_hash(path='js/abridge.min.js', sha_type=384, base64=true) | safe }}"{%- endif %}></script> + {%- else %} + <script defer src="{{ get_url(path='js/abridge-nosearch.min.js', trailing_slash=false, cachebust=true) | safe }}"{%- if config.extra.integrity | default(value=true) %} integrity="sha384-{{ get_hash(path='js/abridge-nosearch.min.js', sha_type=384, base64=true) | safe }}"{%- endif %}></script> + {%- endif %} {%- if config.build_search_index %} {%- if search_library == "elasticlunr" %} diff --git a/templates/macros/macros.html b/templates/macros/macros.html index fb18345..1a033cf 100644 --- a/templates/macros/macros.html +++ b/templates/macros/macros.html @@ -205,13 +205,13 @@ {%- if paginator.previous -%} <a class="on outp" href="{{ paginator.first | safe }}{%- if config.extra.uglyurls %}index.html{%- endif %}" title="First Page"> {%- if icon_first -%}<i class="{{ icon_first }}" alt="First Page"></i> - {%- else -%}❰ + {%- else -%}« {%- endif -%} </a> {%- else -%} <span class="off outp"> {%- if icon_first -%}<i class="{{ icon_first }}" alt="First Page"></i> - {%- else -%}❰ + {%- else -%}« {%- endif -%} </span> {%- endif -%} @@ -219,13 +219,13 @@ {%- if paginator.previous -%} <a class="on outp" href="{{ paginator.previous | safe }}{%- if config.extra.uglyurls %}index.html{%- endif %}" title="Previous Page"> {%- if icon_prev -%}<i class="{{ icon_prev }}" alt="Previous Page"></i> - {%- else -%}❬ + {%- else -%}‹ {%- endif -%} </a> {%- else -%} <span class="off outp"> {%- if icon_prev -%}<i class="{{ icon_prev }}" alt="Previous Page"></i> - {%- else -%}❬ + {%- else -%}‹ {%- endif -%} </span> {%- endif -%} @@ -243,13 +243,13 @@ {%- if paginator.next -%} <a class="on outp" href="{{ paginator.next | safe }}{%- if config.extra.uglyurls %}index.html{%- endif %}" title="Next Page"> {%- if icon_next -%}<i class="{{ icon_next }}" alt="Next Page"></i> - {%- else -%}❭ + {%- else -%}› {%- endif -%} </a> {%- else -%} <span class="off outp"> {%- if icon_next -%}<i class="{{ icon_next }}" alt="Next Page"></i> - {%- else -%}❭ + {%- else -%}› {%- endif -%} </span> {%- endif -%} @@ -257,13 +257,13 @@ {%- if paginator.next -%} <a class="on outp" href="{{ paginator.last | safe }}{%- if config.extra.uglyurls %}index.html{%- endif %}" title="Last Page"> {%- if icon_last -%}<i class="{{ icon_last }}" alt="Last Page"></i> - {%- else -%}❱ + {%- else -%}» {%- endif -%} </a> {%- else -%} <span class="off outp"> {%- if icon_last -%}<i class="{{ icon_last }}" alt="Last Page"></i> - {%- else -%}❱ + {%- else -%}» {%- endif -%} </span> {%- endif -%} |
