_includes/navrail.html in jekyll-theme-handwritten-4.3.5 vs _includes/navrail.html in jekyll-theme-handwritten-4.3.6
- old
+ new
@@ -1,23 +1,23 @@
-{%- if page_paths -%}
- <nav class="navrail">
- <a class="navrail-button" href="/">
- <img
- class="navrail-icon"
- src="{{- "/assets/theme-assets/theme-icons/home2.svg" | relative_url -}}"
- >
- Home</a
- >
- {%- for path in page_paths -%}
- {%- assign my_page = site.pages | where: 'path', path | first -%}
- {%- if my_page.title -%}
- <a class="navrail-button" href="{{ my_page.url | relative_url }}">
- {%- if my_page.title -%}
- <img class="navrail-icon" src="{{- my_page.icon | relative_url -}}">
- {%- endif -%}
- {{ my_page.title | escape }}
- </a>
- {%- endif -%}
- {%- endfor -%}
-
- </nav>
-{%- endif -%}
+{%- if page_paths -%}
+ <nav class="navrail">
+ <a class="navrail-button" href="/">
+ <img
+ class="navrail-icon"
+ src="{{- "/assets/theme-assets/theme-icons/home2.svg" | relative_url -}}"
+ >
+ Home</a
+ >
+ {%- for path in page_paths -%}
+ {%- assign my_page = site.pages | where: 'path', path | first -%}
+ {%- if my_page.title -%}
+ <a class="navrail-button" href="{{ my_page.url | relative_url }}">
+ {%- if my_page.title -%}
+ <img class="navrail-icon" src="{{- my_page.icon | relative_url -}}">
+ {%- endif -%}
+ {{ my_page.title | escape }}
+ </a>
+ {%- endif -%}
+ {%- endfor -%}
+
+ </nav>
+{%- endif -%}