Commit graph

38 commits

Author SHA1 Message Date
Patrick Kollitsch 396d0138ac
config(fix): no default networks, move networks config to exampleSite
Signed-off-by: Patrick Kollitsch <patrick@davids-neighbour.com>
2024-10-24 06:14:45 +07:00
Melroy van den Berg d0db17e8a9
Add missing params on ananke.social.follow (#754)
Add missing `params` prefix on `params.ananke.social.follow` when used
in config.toml or hugo.toml.

Signed-off-by: Melroy van den Berg <melroy@melroy.org>
2024-10-22 17:52:08 +07:00
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 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 76460d7a33
refactor: indentation and file formatting changes
Signed-off-by: Patrick Kollitsch <patrick@davids-neighbour.com>
2024-09-26 09:49:17 +07: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
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 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
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
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
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
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
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
Bud Parr afd3029025
add exampleSite content 2017-04-14 22:32:55 -04:00