Commit graph

20 commits

Author SHA1 Message Date
Ramiro Morales
58e742ef62
theme(fix): share link building when params particle is present ()
In these cases the site permalink is used instead of the social network
URL for sharing as defined in the `link` value
(https://www.linkedin.com/shareArticle in the below example)

Most visible case is LinkedIn but all social networks that have

```toml
[ananke.social.networks.particles]
...
params = "..."
```

in `config/_default/params.toml` are affected by this bug.

Closes .
2024-10-26 06:05:18 +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
cc6da237ea
theme(fix): use internal methods to evaluate environment
closes 
closes 
closes 
closes 

Signed-off-by: Patrick Kollitsch <patrick@davids-neighbour.com>
2024-10-21 10:03:45 +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
321680f6ee
theme(fix): replace deprecated resources.ToCSS with css.Sass
fixes 

Signed-off-by: Patrick Kollitsch <patrick@davids-neighbour.com>
2024-09-17 23:31:24 +07:00
James Henstridge
5f5dfb15e8
assets: update mastodon logo in social links ()
* assets: replace Mastodon logo

The new version is based on the logo-black.svg file distributed from
https://joinmastodon.org/branding, adjusted to match the metrics of the
other social logos.

* layouts: change the color for the mastodon social link

I've picked a purple from https://joinmastodon.org/branding.
2022-12-14 09:55:14 -05:00
Regis Philibert
470ea40982
Only apply the absURL on images served through satic directory ()
This will solve the subdirectory edge case without communication

Fixes 
2022-06-10 15:36:57 -04:00
Regis Philibert
c49009b823 Only add html[dir] attr if languageDirection is explicitly set 2022-04-21 14:23:44 -04:00
Regis Philibert
751ac93c1b
Upgrade "minVersion" of theme to 84 ()
* Upgrade "minVersion" of theme to 84

Check hugo.IsExtended before trying to process scss files

Fixes 
2022-04-21 11:48:54 -04:00
Regis Philibert
ca04e6b567 Revert 36c029abb9 2022-02-11 14:51:50 -05:00
Regis Philibert
8cd36f504e
Use .Render for summary and summary-with-image throughout () 2022-01-19 11:24:13 -05:00
Troy Lindsay
36c029abb9
Fix support for site config featured image () ()
* Unintentionally caused by 
2022-01-12 12:16:02 -05:00
Regis Philibert
73a363ca52
Fix _styles.css bad reference in GetMainCSS ()
Fixes 
2021-12-23 16:02:15 -05:00
Regis Philibert
1f11fbe012
Featured image detection refactoring: ()
We look for .Params.featured_image
If found > we use that as URL
If we find a Page resource matching the value of the above, we use its .RelPermalink
If none of the above we look for an resource whose filepath contains `featured` or `cover` and use its .RelPermalink if found

Fixes 
Fixes 
2021-12-23 15:45:27 -05:00
Regis Philibert
c7b9901e01
Refactor social service logic and UX ()
* Start of work

* Refactor social service logic

Update README

Fixes 

* Add URL to contributors instuctions

* Add tiktok
2021-12-02 15:22:18 -05:00
Jan Steinke
e3f7fbe39d
enable hosting the website also on other domains () 2021-07-14 09:29:08 -04:00
Regis Philibert
6a8f9511aa Fix resource transformation
Fixes 
2021-06-17 09:21:34 -04:00
Regis Philibert
6eb54ab5fd
Refactor styling to drop PostCSS ()
Update custom_css logic (ensure retrocompat)

Fixes 
2021-06-15 09:58:27 -04:00
Sean
5001b28387
Add automatic cover image support ()
* Add support for auto-detection of featured images.

* Rename Partial, Add Documentation

Renamed the partial to func/GetFeaturedImage.html.

Additionally added more documentation in the partial to explain how it
worked, and what values were returned.

Co-authored-by: Sean Zimmermann <sz2243@columbia.edu>
2020-06-23 09:34:09 -04:00