5a1776455f
- 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>
63 lines
1.9 KiB
TOML
63 lines
1.9 KiB
TOML
title = "Notre-Dame de Paris"
|
|
baseURL = "https://gohugo-theme-ananke.pages.dev"
|
|
languageCode = "en-us"
|
|
theme = ["github.com/theNewDynamic/gohugo-theme-ananke"]
|
|
resourceDir = "../resources"
|
|
|
|
DefaultContentLanguage = "en"
|
|
SectionPagesMenu = "main"
|
|
googleAnalytics = ""
|
|
enableRobotsTXT = true
|
|
|
|
[pagination]
|
|
pagerSize = 3 # this is set low for demonstrating with dummy content. Set to a higher number
|
|
|
|
[languages]
|
|
[languages.en]
|
|
title = "Ananke"
|
|
weight = 1
|
|
contentDir = "content/en"
|
|
# languageDirection = 'rtl' for Right-To-Left languages
|
|
[languages.fr]
|
|
title = "Ananke Fr"
|
|
weight = 2
|
|
contentDir = "content/fr"
|
|
|
|
[sitemap]
|
|
changefreq = "monthly"
|
|
priority = 0.5
|
|
filename = "sitemap.xml"
|
|
|
|
[params]
|
|
text_color = ""
|
|
author = ""
|
|
favicon = ""
|
|
site_logo = ""
|
|
description = "The last theme you'll ever need. Maybe."
|
|
# choose a background color from any on this page: https://tachyons.io/docs/themes/skins/ and preface it with "bg-"
|
|
background_color_class = "bg-black"
|
|
# choose an fitting and alignment style for the featured image using tachyons classes such as "cover|contain" for fitting and "bg-top|bg-center|bg-bottom" for alignment, or add any other class space-separated to customize further
|
|
featured_image_class = "cover bg-top"
|
|
# choose a color dimming class for the page or size header from any on this page: https://tachyons.io/docs/themes/skins/, preface it with "bg-" and add the value such as "-X0" where X is in [1,9]
|
|
cover_dimming_class = "bg-black-60"
|
|
recent_posts_number = 3
|
|
|
|
[ananke.social.follow]
|
|
new_window_icon = false # show a little "opens in new window" icon next to the link
|
|
networks = [
|
|
"facebook",
|
|
"bluesky",
|
|
"linkedin"
|
|
]
|
|
|
|
[params.ananke.social]
|
|
[params.ananke.social.facebook]
|
|
username = "patrick.kollitsch"
|
|
# profilelink = "https://www.facebook.com/patrick.kollitsch"
|
|
|
|
[params.ananke.social.linkedin]
|
|
username = "patrickkollitsch"
|
|
|
|
[params.ananke.social.bluesky]
|
|
username = "kollitsch.dev"
|