File tree 1 file changed +2
-3
lines changed
1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change 3
3
{%- assign node = site.pages | where: "name", item.file | first -%}
4
4
{%- assign url = item.url | default: node.url -%}
5
5
{%- assign title = item.title | default: node.title -%}
6
- < a aria-label ="{{ title }} " href ="{{ url | relative_url }} " {% if url == page.url %}class ="selected "{% endif %} >
7
- {%- if include.icon -%}< svg aria-hidden ="true " class ="icon "> < use xlink:href ="{{ "/assets/fontawesome/icons.svg" | relative_url }}#{{ item.icon }}"> </ use > </ svg > {%- endif -%}
8
- {%- if include.text -%}< span aria-hidden ="true "> {{ title }}</ span > {%- endif -%}
6
+ < a href ="{{ url | relative_url }} " {% if url == page.url %}class ="selected "{% endif %} >
7
+ {%- if item.icon -%}< svg aria-label ="{{ title }} " class ="icon "> < use xlink:href ="{{ "/assets/fontawesome/icons.svg" | relative_url }}#{{ item.icon }}"> </ use > </ svg > {%- else -%}{{ title }}{%- endif -%}
9
8
</ a >
10
9
{%- endfor -%}
11
10
</ nav >
You can’t perform that action at this time.
0 commit comments