mirror of
https://github.com/imfing/hextra.git
synced 2025-07-04 12:37:10 -04:00
Added necessary variables for correct styling of the custom footer in some cases
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user