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
Cyrill Raccaud
9fc4b73a36
theme(fix): header image positioning ( #731 )
...
Currently, the header image for a post is `bg-top`, but it would be nice
the control this behavior to lets say `top|center|bottom`, as often the
interesting part of an image is in the center. Using the
`featured_image_class` param, one can now customize the class to control
the alignment of the featured header image. It is also possible to add
additional classes for further customization if needed.
Default case:
<img width="1512" alt="Bildschirmfoto 2024-10-12 um 14 23 10"
src="https://github.com/user-attachments/assets/477bafd2-e50a-44bf-93df-2289cb8380b2 ">
Same as default case but set explicitly `featured_image_class = cover
bg-top`:
<img width="1512" alt="Bildschirmfoto 2024-10-12 um 14 23 10"
src="https://github.com/user-attachments/assets/477bafd2-e50a-44bf-93df-2289cb8380b2 ">
`featured_image_class = cover bg-center`:
<img width="1512" alt="Bildschirmfoto 2024-10-12 um 14 23 27"
src="https://github.com/user-attachments/assets/7bae039d-d31b-405b-b5c0-0dc9e13a4f8c ">
`featured_image_class = cover bg-bottom`:
<img width="1512" alt="Bildschirmfoto 2024-10-12 um 14 23 36"
src="https://github.com/user-attachments/assets/52dc14cd-2a30-4763-ae90-353d10fb34e7 ">
`featured_image_class = contain bg-top`:
<img width="1512" alt="Bildschirmfoto 2024-10-12 um 14 29 16"
src="https://github.com/user-attachments/assets/1ee6f371-f2b4-4740-924d-9ea6c1a44df8 ">
**Code formatting**
<!-- See the simple style guide. -->
**Closing issues**
Closes #729
2024-10-21 14:57:39 +07:00
Patrick Kollitsch
e8f39dd2ed
build(fix): proper replacement path
...
Signed-off-by: Patrick Kollitsch <patrick@davids-neighbour.com>
2024-10-21 09:17:37 +07:00
Patrick Kollitsch
d866e89203
content(fix): remove default value from front matter
...
Signed-off-by: Patrick Kollitsch <patrick@davids-neighbour.com>
2024-10-21 04:59:14 +07:00
Patrick Kollitsch
7913086a0f
theme(fix): add labels and label override functionality
...
Signed-off-by: Patrick Kollitsch <patrick@davids-neighbour.com>
2024-10-20 15:58:53 +07:00
Patrick Kollitsch
ef4a6a0cfe
theme(fix): smaller config fixes for social media integration
...
Signed-off-by: Patrick Kollitsch <patrick@davids-neighbour.com>
2024-10-20 15:26:55 +07:00
Patrick Kollitsch
4f3e709d83
theme(feat): social media follow links
...
documentation will follow at https://github.com/theNewDynamic/gohugo-theme-ananke/wiki/Social-media-network-setup
Signed-off-by: Patrick Kollitsch <patrick@davids-neighbour.com>
2024-10-20 12:47:56 +07:00
Patrick Kollitsch
363bd2e656
config(fix): move paginate to pagination.pagerSize (deprecation)
...
closes #746
Signed-off-by: Patrick Kollitsch <patrick@davids-neighbour.com>
2024-10-18 15:54:45 +07:00
Patrick Kollitsch
dcc979b66d
chore(deps): update go module configuration
...
Signed-off-by: Patrick Kollitsch <patrick@davids-neighbour.com>
2024-10-18 12:25:39 +07:00
Patrick Kollitsch
76460d7a33
refactor: indentation and file formatting changes
...
Signed-off-by: Patrick Kollitsch <patrick@davids-neighbour.com>
2024-09-26 09:49:17 +07:00
Efrén
a43d1b9986
Typo fix ( #606 )
...
* Typo fix
* Typo fix
2023-02-03 14:55:29 -05:00
oliv37
3e26715593
Update _index.md ( #590 )
2022-12-02 15:47:36 -05:00
Regis Philibert
b3b4386d01
Retry go.mod replace with recent cloudflare improvements
2022-09-06 13:55:32 -04:00
Andreas Deininger
720bd45dc8
Fixing typo, changing links from http:// to https:// ( #551 )
2022-05-20 14:51:54 -04:00
Regis Philibert
7b472d461c
Update URL
2022-05-06 10:22:04 -04:00
Regis Philibert
ddf6a83405
Fix exampleSite gomod...
2022-05-06 10:19:09 -04:00
Meir Kriheli
19242fd2f8
Added support for Right-To-Left languages ( #532 )
...
* Added support for Right-To-Left languages
* Added language-direction partial
2022-04-21 14:17:49 -04:00
Regis Philibert
751ac93c1b
Upgrade "minVersion" of theme to 84 ( #543 )
...
* Upgrade "minVersion" of theme to 84
Check hugo.IsExtended before trying to process scss files
Fixes #541
2022-04-21 11:48:54 -04:00
Regis Philibert
8fdfd205f9
Trick CI into using self module ( #515 )
2022-02-11 15:25:39 -05:00
Regis Philibert
d4e5a698a8
Update exampleSite
2022-02-11 14:54:39 -05:00
Troy Lindsay
156a035e56
Update about page ft img to match demo site ( #507 )
...
* Update about page ft img to match demo site (#491 )
* Add menu entry
2022-02-11 13:22:15 -05:00
Troy Lindsay
523c771661
Update about page bundle branch -> leaf ( #486 ) ( #487 )
2022-01-19 11:32:32 -05:00
Tanner Smith
3b30dfbac3
Add option to change content font color ( #286 )
...
Co-authored-by: Regis Philibert <login@regisphilibert.com>
2021-12-23 15:01:14 -05:00
Regis Philibert
c7b9901e01
Refactor social service logic and UX ( #425 )
...
* Start of work
* Refactor social service logic
Update README
Fixes #422
* Add URL to contributors instuctions
* Add tiktok
2021-12-02 15:22:18 -05:00
Joel S Aufrecht
3710f7e92a
added tiktok to available social media links ( #444 )
2021-11-16 09:15:28 -05:00
diamon
597a631988
add default author ( #408 )
2021-10-01 13:11:40 -04:00
Regis Philibert
ffd9d903c9
Add optional processing of styles with Hugo Pipes ( #387 )
...
* Using resources.PostCSS to handle stylesheets
* Allow optional processing of assets through Hugo Pipes
* We can settle with 0.64.0
2021-01-19 15:43:02 -05:00
Adam Chlan
23c7cc6847
Basic example of multilingual ( #386 )
...
* Basic example of multilingual
* Add one post and the homepage
Co-authored-by: Regis Philibert <login@regisphilibert.com>
2021-01-11 16:42:48 -05:00
Anim Mouse
d7b7d138c8
Update archetypes ( #305 )
...
* Update archetypes to YAML
* Remove deprecated metaDataFormat
* Add Newline at the end
2020-08-07 08:56:08 -04:00
Tanner Smith
9171519154
Site logo ( #284 )
...
* Add the option to use a logo for the top left site title
2020-06-03 16:26:29 -05:00
Tanner Smith
624b79e7f6
RSS svg icon ( #282 )
...
* Add rss icon to social icons
* Revert unnecessary asset deployment
2020-06-01 15:51:41 -04:00
mountainbug95
2cf4d180fa
Refactor social share buttons config
2020-02-05 11:30:00 -06:00
mountainbug95
2e7e343ce2
Add social media share buttons to the post layout
2020-02-05 10:25:46 -06:00
Jesus Galvan
505b255923
Add StackOverflow social ( #243 )
2020-01-09 22:10:47 -05:00
Jace Browning
37c462b088
Add Slack to social options ( #236 )
2019-11-15 14:13:07 -05:00
Bud Parr
b66e9a1172
Add Stackbit Configuration ( #223 )
...
* Add stackbit YAML file
Fixes #200
* Adjust fields from linter
Ref #200
* Improve fields from linter suggestions
Ref #206
* Improve contact page sample field for menu
* Update Theme.toml and Readme
2019-10-27 15:07:44 -04:00
echarp
8b348e6aad
Add a link to "mastodon" ( #159 )
...
* Create fr.toml
French translation
* Social link to "mastodon" added
2019-03-04 17:25:39 -05:00
Sean Harger
e418548683
Support hiding the featured image header text. ( #155 )
...
I updated the documentaiton as well as changed the contact page in the
exampleSite to use this feature as a demo.
2019-02-10 22:47:28 -05:00
Jordan Ferenz
6fe34fdd5e
Add Gitlab to social icons ( #131 )
...
Gitlab is a popular Git repository manager using an opensource license.
This commit adds the Gitlab social icon.
2018-09-13 10:11:36 -04:00
Developer Davo
f9b62a2645
#68|Parmeterize number of recent posts in index.html ( #69 )
...
* Parmeterize number of recent posts in index.html
* Replace .Site.Params.recent_posts_number with $.Param "recent_posts_number" in index.html
2017-11-01 11:08:19 -04:00
Adam Kaplan
1e37db6cef
Favicons ( #54 )
...
* Adding support for favicon
* Fixing html tag
2017-09-27 07:52:26 -04:00
Brad Clark
eb765fdbc8
Social icon updates ( #51 )
...
* add linkedin
* update github svg to fix spacing
* add colors from brandcolors.net
2017-09-26 11:51:01 -04:00
Brad Clark
293cedefc1
Add GitHub social icon ( #48 )
...
* add github social link
* add github css
* fix css error breaking rollover
2017-09-20 15:12:25 -04:00
Bjørn Erik Pedersen
7b5196ad18
Make Hero image work out-of-the box ( #40 )
...
* using Hero sample image in the theme's /static folder
* fall back to site config
* fall back to hard coded default if none set in page or site params
2017-07-23 08:36:54 -04:00
Axel Segebrecht
68aae3273c
Removed excess o in Facebook ( #34 )
2017-06-06 10:48:54 -04:00
Bud Parr
cc0869b8c5
add default image for hero
2017-04-18 23:27:59 -04:00
Bjørn Erik Pedersen
a0c0ac2349
Add themesDir to exampleSite config
...
So it is runnable out-of-the-box.
2017-04-17 17:13:17 +02:00
Bud Parr
9a33ab1fab
fix form content
2017-04-15 20:24:04 -04:00
Bud Parr
b27baa9b4c
add header variable to example config
2017-04-15 20:20:47 -04:00
Bud Parr
aa86f806ce
update some theme variables and example content
2017-04-15 12:02:31 -04:00