_includes/navrail.html in jekyll-theme-handwritten-4.0.1 vs _includes/navrail.html in jekyll-theme-handwritten-4.1.0

- old
+ new

@@ -1,17 +1,23 @@ {%- if page_paths -%} -<nav class="navrail"> - <a class="navrail-button" href="/"> - <img class="navrail-icon" src="{{- site.home_icon | relative_url -}}" /> - Home</a - > + <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> + {%- 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 -%}