ananke/layouts
Cyrill Raccaud 5a1776455f
complete the feature for the cover dimming class in page (#732)
- feature already present for site
- add info for the param to the example

Like https://github.com/theNewDynamic/gohugo-theme-ananke/pull/702, this
PR wants to add the cover class to the page as well, but adds also the
documentation to the example and allows both for page params and site
params.

Solves https://github.com/theNewDynamic/gohugo-theme-ananke/issues/696
in a proper way for site and page with fallback and documentation in the
example.

Default:

<img width="1512" alt="Bildschirmfoto 2024-10-12 um 14 47 12"
src="https://github.com/user-attachments/assets/fbbec618-2045-4be7-94d7-09169a253a96">

Same as default `cover_dimming_class = bg-black-60`:

<img width="1512" alt="Bildschirmfoto 2024-10-12 um 14 47 12"
src="https://github.com/user-attachments/assets/fbbec618-2045-4be7-94d7-09169a253a96">

`cover_dimming_class = bg-black-20`:

<img width="1512" alt="Bildschirmfoto 2024-10-12 um 14 47 20"
src="https://github.com/user-attachments/assets/7bf64564-4f6d-42c9-bed1-83b426d487ae">

`cover_dimming_class = bg-black-90`:

<img width="1512" alt="Bildschirmfoto 2024-10-12 um 14 47 34"
src="https://github.com/user-attachments/assets/354a0e49-7446-46d7-adc1-f8e4ecee3831">


**Closing issues**

closes #702
closes #696

---------

Signed-off-by: Patrick Kollitsch <patrick@davids-neighbour.com>
Co-authored-by: Patrick Kollitsch <patrick@davids-neighbour.com>
2024-10-21 15:48:03 +07:00
..
_default theme(fix): use internal methods to evaluate environment 2024-10-21 10:03:45 +07:00
page Remove Section mention from single/page (#531) 2022-03-21 13:36:15 -04:00
partials complete the feature for the cover dimming class in page (#732) 2024-10-21 15:48:03 +07:00
post Add missing "read more" link to summary.html (#658) 2023-11-21 15:08:47 -05:00
shortcodes Fixed a typo in form-contact.html (#266) 2020-06-03 09:54:50 -04:00
404.html fix permissions (#581) 2022-12-14 09:56:24 -05:00
index.html Fix render breakage introduced in #665 (#685) 2024-05-03 13:43:35 -04:00
robots.txt theme(fix): use internal methods to evaluate environment 2024-10-21 10:03:45 +07:00