From 0c9678c2e6d12b2c7316860c6a4bb263f7ae5725 Mon Sep 17 00:00:00 2001 From: Silvio Giebl Date: Sat, 30 Nov 2019 17:35:09 +0100 Subject: [PATCH 01/36] Fix search issues --- assets/js/search-data.json | 12 ------------ assets/js/zzzz-search-data.json | 13 +++++++++++++ 2 files changed, 13 insertions(+), 12 deletions(-) delete mode 100644 assets/js/search-data.json create mode 100644 assets/js/zzzz-search-data.json diff --git a/assets/js/search-data.json b/assets/js/search-data.json deleted file mode 100644 index 0532f7c..0000000 --- a/assets/js/search-data.json +++ /dev/null @@ -1,12 +0,0 @@ ---- ---- -{ - {% assign comma = false %} - {% for page in site.html_pages %}{% if page.search_exclude != true %}{% if comma == true%},{% endif %}"{{ forloop.index0 }}": { - "title": "{{ page.title | replace: '&', '&' }}", - "content": "{{ page.content | markdownify | replace: ' Date: Sun, 1 Dec 2019 15:51:48 +0100 Subject: [PATCH 02/36] Prefixed svg ids to not clash with normal ids --- _includes/nav.html | 4 ++-- _layouts/default.html | 16 ++++++++-------- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/_includes/nav.html b/_includes/nav.html index a2fda59..d064b48 100644 --- a/_includes/nav.html +++ b/_includes/nav.html @@ -8,7 +8,7 @@ {%- assign first_level_url = node.url | absolute_url -%} {%- endif -%} {%- if node.has_children -%} - + {%- endif -%} {{ node.title }} {%- if node.has_children -%} @@ -20,7 +20,7 @@ {%- assign second_level_url = child.url | absolute_url -%} {%- endif -%} {%- if child.has_children -%} - + {%- endif -%} {{ child.title }} {%- if child.has_children -%} diff --git a/_layouts/default.html b/_layouts/default.html index c6fd128..bc4ee27 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -8,19 +8,19 @@ layout: table_wrappers {% include head.html %} - + Link - + Menu - + Search - + Expand @@ -30,7 +30,7 @@ layout: table_wrappers