_includes/navrail.html in jekyll-theme-doodle-5.1.7 vs _includes/navrail.html in jekyll-theme-doodle-5.1.8
- old
+ new
@@ -1,16 +1,22 @@
{%- 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>
+ <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 -%}