In release v0.3.20 (hugo extended v0.147.2) with the same code I've got an error:
\nERROR Invalid Mastodon configuration: maps.Params{\"id\":\"@salvari\", \"prefix\":\"https://mastodon.gal/\", \"title\":\"Mastodon\"}\nERROR logged 1 error(s)\n
If I change my file params.toml
to include:
[social]\n [Mastodon]\n id = \"@salvari\"\n prefix = \"https://mastodon.gal/\"\n title = \"Mastodon\"
I don't get any error message but the home page has no link to my mastodon profile.
\nI've tried also [mastodon]
instead of [Mastodon]
It's maybe a bug cause by #559
\nHowever, there is a quick solution, like this:
\n[social]\n [social.myMastodon]\n id = \"@salvari\"\n prefix = \"https://mastodon.gal/\"\n title = \"Mastodon\"\n [social.myMastodon.icon]\n Class = \"fa-brands fa-mastodon fa-fw\"
-
I need help with I was using this section in file [social]
[social.Mastodon]
id = "@salvari"
prefix = "https://mastodon.gal/"
title = "Mastodon" In release v0.3.20 (hugo extended v0.147.2) with the same code I've got an error:
If I change my file [social]
[Mastodon]
id = "@salvari"
prefix = "https://mastodon.gal/"
title = "Mastodon" I don't get any error message but the home page has no link to my mastodon profile. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
It's maybe a bug cause by #559 However, there is a quick solution, like this: [social]
[social.myMastodon]
id = "@salvari"
prefix = "https://mastodon.gal/"
title = "Mastodon"
[social.myMastodon.icon]
Class = "fa-brands fa-mastodon fa-fw" |
Beta Was this translation helpful? Give feedback.
-
Convert to a issue #600 |
Beta Was this translation helpful? Give feedback.
It's maybe a bug cause by #559
However, there is a quick solution, like this: