summary refs log tree commit diff stats
path: root/themes/bear/templates/nav.html
blob: 579661e742536a59ded4b75d1f2f6588137b4bd6 (plain)
1
2
3
4
5
6
7
8
9
10
  <a href="/">Home</a>
{%- if config.extra.main_menu %}
  {%- for item in config.extra.main_menu %}
    {%- if item.url is matching("https?://") %}
      <a href="{{ item.url | safe }}">{{ item.name }}</a>
    {%- else %}
      <a href="{{ item.url }}">{{ item.name }}</a>
    {%- endif %}
  {%- endfor %}
{%- endif -%}