Skip to content

Commit

Permalink
fix: add target attribute to footer menu links (#206)
Browse files Browse the repository at this point in the history
  • Loading branch information
ruibaby authored Nov 15, 2024
1 parent 33c033f commit 75731b7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions templates/modules/footer.html
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
th:href="@{${menuItem.status.href}}"
class="transition-all hover:text-gray-900 hover:underline dark:hover:text-white"
th:text="${menuItem.status.displayName}"
th:target="${menuItem.spec.target?.value}"
></a>
</li>
</ul>
Expand Down Expand Up @@ -111,6 +112,7 @@
th:href="@{${menuItem.status.href}}"
class="transition-all hover:text-gray-900 hover:underline dark:hover:text-white"
th:text="${menuItem.status.displayName}"
th:target="${menuItem.spec.target?.value}"
></a>
</li>
</ul>
Expand All @@ -135,6 +137,7 @@
th:href="@{${menuItem.status.href}}"
class="transition-all hover:text-gray-900 hover:underline dark:hover:text-white"
th:text="${menuItem.status.displayName}"
th:target="${menuItem.spec.target?.value}"
></a>
</li>
</ul>
Expand Down

0 comments on commit 75731b7

Please sign in to comment.