Skip to content

Commit

Permalink
tabpane warning: make it easier to find source page (#1448)
Browse files Browse the repository at this point in the history
  • Loading branch information
chalin committed Feb 28, 2023
1 parent 0edc7d6 commit 26d4d11
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion layouts/shortcodes/tabpane.html
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@
</ul>

{{ if $duplicate -}}
{{ warnf "Tabpane on page '%s': duplicate language '%s' detected, disabling persistance of language to avoid multiple tab display." .Page.Title $duplicateLang -}}
{{ warnf "Tabpane on page '%s': duplicate language '%s' detected, disabling persistance of language to avoid multiple tab display." .Page.RelPermalink $duplicateLang -}}
{{ end -}}
{{ $duplicate = false -}}
{{ $langs = slice -}}
Expand Down

0 comments on commit 26d4d11

Please sign in to comment.