_includes/navrail.html in jekyll-theme-handwritten-4.1.0 vs _includes/navrail.html in jekyll-theme-handwritten-4.2.0
- old
+ new
@@ -5,11 +5,10 @@
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 -%}
@@ -17,7 +16,8 @@
{%- endif -%}
{{ my_page.title | escape }}
</a>
{%- endif -%}
{%- endfor -%}
+
</nav>
{%- endif -%}