Skip to content

Commit

Permalink
Add link target to navbar rendering (#62)
Browse files Browse the repository at this point in the history
  • Loading branch information
ColdHeat authored Feb 2, 2024
1 parent 76d3014 commit 1db54f7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion templates/components/navbar.html
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,9 @@
<ul class="navbar-nav me-auto">
{% for page in Plugins.user_menu_pages %}
<li class="nav-item">
<a class="nav-link" href="{{ page.route }}">{{ page.title }}</a>
<a class="nav-link" href="{{ page.route }}" {% if page.link_target %}target="{{ page.link_target }}"{% endif %}>
{{ page.title }}
</a>
</li>
{% endfor %}

Expand Down

0 comments on commit 1db54f7

Please sign in to comment.