Added necessary variables for correct styling of the custom footer in some cases

This commit is contained in:
Attila Greguss
2024-12-18 14:40:29 +00:00
parent 1a5a34b00c
commit e3d29ca81a
2 changed files with 10 additions and 3 deletions

View File

@ -70,6 +70,11 @@ You can add a custom section the footer between the language/theme buttons and t
<!-- Your footer element here -->
```
Available variables in the footer section are:
- `.aboveVisible`: `true` if the Language or Theme button(s) are visible above the footer along with a horizontal separator.
- `.belowVisible`: `true` if the Copyright or PoweredBy text are visible below the footer.
_Note: The custom footer inherits the default footer background color text color and the `width` setting in `hugo.yaml#footer` section._
## Custom Layouts