Patrick Kollitsch
4f623cb3cc
build(fix): remove version hack from release script
...
Signed-off-by: Patrick Kollitsch <patrick@davids-neighbour.com>
2024-10-24 17:52:52 +07:00
Patrick Kollitsch
4c708bc4bc
chore(release): v2.11.0
...
Signed-off-by: Patrick Kollitsch <patrick@davids-neighbour.com>
2024-10-24 17:49:07 +07:00
Patrick Kollitsch
503fbc9101
chore(release): v2.11.0
...
Signed-off-by: Patrick Kollitsch <patrick@davids-neighbour.com>
2024-10-24 17:34:37 +07:00
Patrick Kollitsch
9df28820ba
chore(release): v2.10.1-prerelease.6
...
Signed-off-by: Patrick Kollitsch <patrick@davids-neighbour.com>
2024-10-24 17:03:40 +07:00
Patrick Kollitsch
aced7bda5c
chore(release): v2.10.1-prerelease.5
...
Signed-off-by: Patrick Kollitsch <patrick@davids-neighbour.com>
2024-10-24 17:02:54 +07:00
Melroy van den Berg
473c7c14c6
theme(fix): remove caching of share links ( #757 )
...
You can't just cache the share links, that will result into every blog
post having the same URL.
Just use `partial` on the getShareLink.html. So now each post will show
the correct URL to share the post via social media or alike.
---------
Signed-off-by: Melroy van den Berg <melroy@melroy.org>
Signed-off-by: Patrick Kollitsch <83281+davidsneighbour@users.noreply.github.com>
Co-authored-by: Patrick Kollitsch <83281+davidsneighbour@users.noreply.github.com>
2024-10-24 16:58:58 +07:00
Patrick Kollitsch
1bcc471e00
theme(fix): paths to social func partials
...
Signed-off-by: Patrick Kollitsch <patrick@davids-neighbour.com>
2024-10-24 16:56:53 +07:00
Patrick Kollitsch
ae14ccf407
docs(fix): update theme.toml with min version and authors
...
Signed-off-by: Patrick Kollitsch <patrick@davids-neighbour.com>
2024-10-24 15:28:55 +07:00
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
2cfb09e9a3
theme(fix): add transform.Plainify to the summary body content of the share links ( #758 )
...
You definitely want to **add Plainify transformer first**, because the
body content will become a HTML encoding mess. I left `HTMLEscape` there
as well, just be sure for security reasons. But if you want, I can
remove the second transformer.
Like a tweet on X will look like this:
![image](https://github.com/user-attachments/assets/73ab37b0-decc-47a4-8bbd-cf43cbef1641 )
After implementing `transform.Plainify`, it will look much better:
![image](https://github.com/user-attachments/assets/962ba515-72ae-4b46-827f-2c477358d065 )
(ignore the red, I don't have X premium pro blabla, it's red because I
hit the max limit of chars)
Signed-off-by: Melroy van den Berg <melroy@melroy.org>
2024-10-24 05:56:04 +07:00
Patrick Kollitsch
43176864bc
chore(release): v2.10.1-prerelease.4
...
Signed-off-by: Patrick Kollitsch <patrick@davids-neighbour.com>
2024-10-23 17:31:27 +07:00
Patrick Kollitsch
e22c42896a
docs(fix): update link to demo
...
Signed-off-by: Patrick Kollitsch <83281+davidsneighbour@users.noreply.github.com>
2024-10-23 17:21:03 +07:00
Patrick Kollitsch
0a307d7521
docs(fix): add note about WIP on the README.md
...
Signed-off-by: Patrick Kollitsch <83281+davidsneighbour@users.noreply.github.com>
2024-10-23 17:19:14 +07:00
Patrick Kollitsch
088c3e7a57
chore(deps): update dependencies
...
Signed-off-by: Patrick Kollitsch <patrick@davids-neighbour.com>
2024-10-23 16:54:35 +07:00
Patrick Kollitsch
d544d76af7
build(fix): revert to go 1.22
...
Signed-off-by: Patrick Kollitsch <patrick@davids-neighbour.com>
2024-10-23 16:51:41 +07:00
Melroy van den Berg
0306b6a74d
docs(fix) social share link to wiki page ( #753 )
...
See title.
Signed-off-by: Melroy van den Berg <melroy@melroy.org>
2024-10-22 17:53:59 +07:00
Melroy van den Berg
12cd81b681
theme(fix) social share cache ( #755 )
...
Do NOT use the same cache name for social _share_ and social _follow_..
This will never work of course.
Signed-off-by: Melroy van den Berg <melroy@melroy.org>
2024-10-22 17:53:04 +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
Patrick Kollitsch
ddc42113d5
chore(release): v2.10.1-prerelease.3
...
Signed-off-by: Patrick Kollitsch <patrick@davids-neighbour.com>
2024-10-21 15:48:52 +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
Patrick Kollitsch
e7f28b0de4
docs(fix): remove obsolete docs
...
Signed-off-by: Patrick Kollitsch <patrick@davids-neighbour.com>
2024-10-21 15:04:06 +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
cc6da237ea
theme(fix): use internal methods to evaluate environment
...
closes #625
closes #733
closes #453
closes #574
Signed-off-by: Patrick Kollitsch <patrick@davids-neighbour.com>
2024-10-21 10:03:45 +07:00
Patrick Kollitsch
9332bad766
chore(release): v2.10.1-prerelease.2
...
Signed-off-by: Patrick Kollitsch <patrick@davids-neighbour.com>
2024-10-21 09:24:16 +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
e38869bc38
docs: typo
...
Signed-off-by: Patrick Kollitsch <patrick@davids-neighbour.com>
2024-10-21 09:10:55 +07:00
Patrick Kollitsch
5afb33c5c1
chore(release): v2.10.1-prerelease.1
...
Signed-off-by: Patrick Kollitsch <patrick@davids-neighbour.com>
2024-10-21 08:54:21 +07:00
Patrick Kollitsch
a41140e4df
docs(fix): add discord link
...
Signed-off-by: Patrick Kollitsch <patrick@davids-neighbour.com>
2024-10-21 08:54:09 +07:00
Patrick Kollitsch
9df0c0a878
theme(fix): proper configuration for all networks
...
Signed-off-by: Patrick Kollitsch <patrick@davids-neighbour.com>
2024-10-21 08:44:48 +07:00
Patrick Kollitsch
65c8a115e1
chore(config): add markdownlint configuration
...
Signed-off-by: Patrick Kollitsch <patrick@davids-neighbour.com>
2024-10-21 08:02:56 +07:00
Patrick Kollitsch
f68e6ff4c3
docs: typo
...
Signed-off-by: Patrick Kollitsch <patrick@davids-neighbour.com>
2024-10-21 08:02:35 +07:00
Patrick Kollitsch
a9cd70d1e6
theme(fix): bring some logic into /disabled sharing
...
Signed-off-by: Patrick Kollitsch <patrick@davids-neighbour.com>
2024-10-21 06:54:33 +07:00
Patrick Kollitsch
0aec28fef6
docs: update LICENSE.md
...
Signed-off-by: Patrick Kollitsch <patrick@davids-neighbour.com>
2024-10-21 06:31:29 +07:00
Patrick Kollitsch
d7a12f353a
docs: add fontawesome license remark to README.md
...
Signed-off-by: Patrick Kollitsch <patrick@davids-neighbour.com>
2024-10-21 06:30:33 +07:00
Patrick Kollitsch
c971cbab1b
chore(release): v2.10.1-prerelease.0
...
Signed-off-by: Patrick Kollitsch <patrick@davids-neighbour.com>
2024-10-21 06:14:35 +07:00
Patrick Kollitsch
825ea52af9
theme(fix): cleanup unused functions
...
Signed-off-by: Patrick Kollitsch <patrick@davids-neighbour.com>
2024-10-21 06:02:43 +07:00
Patrick Kollitsch
14eeb655ce
theme(fix): hover color for social icons
...
Signed-off-by: Patrick Kollitsch <patrick@davids-neighbour.com>
2024-10-21 05:59:52 +07:00
Patrick Kollitsch
d9f9cb513f
theme(feat): social share links (wip)
...
Signed-off-by: Patrick Kollitsch <patrick@davids-neighbour.com>
2024-10-21 05:46:32 +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
8762f563f9
theme(fix): making sure the noopener rel attribute stays even with other configurations
...
Signed-off-by: Patrick Kollitsch <patrick@davids-neighbour.com>
2024-10-20 17:23:51 +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
9254c455c9
theme(fix): override profile link generation with full link
...
Signed-off-by: Patrick Kollitsch <patrick@davids-neighbour.com>
2024-10-20 15:27:19 +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
e2360e7ce7
theme(fix): add configs for various networks
...
Signed-off-by: Patrick Kollitsch <patrick@davids-neighbour.com>
2024-10-20 13:13:31 +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
c672ad4299
fix: add FontAwesome brand icons (free) and LICENSE.txt
...
Signed-off-by: Patrick Kollitsch <patrick@davids-neighbour.com>
2024-10-20 12:47:56 +07:00
Patrick Kollitsch
6e465653ec
build(feat): add proper npm run server script
...
Signed-off-by: Patrick Kollitsch <patrick@davids-neighbour.com>
2024-10-18 16:17:52 +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
0608f9f9fc
chore(config): update workspace configuration
...
Signed-off-by: Patrick Kollitsch <patrick@davids-neighbour.com>
2024-10-18 14:44:07 +07:00
Patrick Kollitsch
1ff3417339
chore(git): revert last commit
...
Signed-off-by: Patrick Kollitsch <patrick@davids-neighbour.com>
2024-10-18 14:00:10 +07:00