Skip to content

Commit

Permalink
Merge pull request #23 from niltonheck/feat-target-to-link
Browse files Browse the repository at this point in the history
Feat: add target as menu link option
  • Loading branch information
oscarotero authored Jul 21, 2024
2 parents 98e39d4 + ec970d8 commit 21b5b40
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/_includes/layouts/base.vto
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
{{ /for }}
{{- for link of it.menu_links }}
<li>
<a href="{{ link.href }}">
<a href="{{ link.href }}"{{ if link.target }} target="{{link.target}}"{{ /if }}>
{{ link.text }}
</a>
</li>
Expand Down

0 comments on commit 21b5b40

Please sign in to comment.