You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: layouts/partials/version-banner.html
+1Lines changed: 1 addition & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -3,6 +3,7 @@
3
3
<!-- Check if the page has a banner: "string" set if yes, display a banner. -->
4
4
<!-- safeHTML means you can include HTML. If you need to escape double quotes, use \" -->
5
5
<!-- For example: banner: "Go <a href=\"/refguide9/moving-from-8-to-9/\">here</a>" -->
6
+
<!-- Extra check for empty banner added to allow empty banners in front matter to get around bug in Hugo 0.123.0 (https://github.com/gohugoio/hugo/issues/12465) which is not fixed until 0.143.0 (https://github.com/gohugoio/hugo/releases/tag/v0.143.0) -->
0 commit comments