ananke/layouts/partials
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
..
func theme(fix): use internal methods to evaluate environment 2024-10-21 10:03:45 +07:00
social theme(fix): bring some logic into /disabled sharing 2024-10-21 06:54:33 +07:00
svg Remove template tags from socials SVGs 2022-02-02 10:15:01 -05:00
commento.html Add commento (#178) 2019-06-09 15:46:06 -04:00
head-additions.html Add head partial (#285) 2020-06-03 16:01:01 -05:00
i18nlist.html Added support for Right-To-Left languages (#532) 2022-04-21 14:17:49 -04:00
menu-contextual.html Fix TOC header (#168) 2019-03-26 16:45:46 -04:00
new-window-icon.html Open social media links in new tab and add Medium icon (#143) 2018-11-27 18:44:27 -05:00
page-header.html complete the feature for the cover dimming class in page (#732) 2024-10-21 15:48:03 +07:00
site-favicon.html Use relative URL for favicon (#251) 2020-06-03 10:17:41 -04:00
site-footer.html theme(feat): social media follow links 2024-10-20 12:47:56 +07:00
site-header.html complete the feature for the cover dimming class in page (#732) 2024-10-21 15:48:03 +07:00
site-navigation.html theme(feat): social media follow links 2024-10-20 12:47:56 +07:00
site-scripts.html Re-introducing site-scripts partial for user to overwrite 2021-12-23 16:33:51 -05:00
site-style.html Refactor styling to drop PostCSS (#424) 2021-06-15 09:58:27 -04:00
summary-with-image.html Only apply the absURL on images served through satic directory (#557) 2022-06-10 15:36:57 -04:00
summary.html Use .Render for summary and summary-with-image throughout (#498) 2022-01-19 11:24:13 -05:00
tags.html Improve links for sitemap and taxonomies (#569) 2022-09-07 08:36:32 -04:00