From 3af6d9131f6dfc138856d718ec96626344095ec8 Mon Sep 17 00:00:00 2001 From: Jieiku Date: Mon, 22 May 2023 23:24:44 -0700 Subject: Optimizations and Fixes --- templates/base.html | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'templates/base.html') diff --git a/templates/base.html b/templates/base.html index cb8d73f..31db9bf 100644 --- a/templates/base.html +++ b/templates/base.html @@ -66,6 +66,11 @@ {%- endfor -%} {%- endif -%} + {%- if js_switcher -%} + {%- set icon_adjust=config.extra.icon_adjust | default(value="svgs adjust") -%} +
  • {%- if icon_adjust -%}{%- else -%}☀{%- endif -%}
  • + {%- endif -%} + {%- endif -%} {%- set language_count = 1 -%} {%- for language_name, language in config.languages -%} {%- set_global language_count = language_count + 1 -%} @@ -87,11 +92,6 @@ {%- endif %} {%- endif -%} - {%- if js_switcher -%} - {%- set icon_adjust=config.extra.icon_adjust | default(value="svgs adjust") -%} -
  • {%- if icon_adjust -%}{%- else -%}☀{%- endif -%}
  • - {%- endif -%} - {%- endif -%} {%- if config.build_search_index %} -- cgit v1.3.1