diff --git a/README.md b/README.md index f1bf4c4..adf0bc7 100644 --- a/README.md +++ b/README.md @@ -178,6 +178,7 @@ These settings to display your social accounts. - `codeberg`: Your [Codeberg](https://codeberg.org) username. - `github`: Your [Github](https://github.com) username. - `instagram`: Your [Instagram](https://www.instagram.com) username. +- `pixelfed`: Your [Pixelfed](https://pixelfed.org) server/username. - `xing`: Your [Xing](https://www.xing.com) username. - `linkedin`: Your [Linkedin](https://www.linkedin.com) username. - `twitter`: Your [Twitter](https://twitter.com) username. diff --git a/exampleSite/hugo.toml b/exampleSite/hugo.toml index 608aa97..04dd32b 100644 --- a/exampleSite/hugo.toml +++ b/exampleSite/hugo.toml @@ -37,6 +37,7 @@ keywords = "minimalist,blog,goa,hugo,developer" codeberg = "" github = "" instagram = "" +pixelfed = "/" linkedin = "" twitter = "" mastodon = "/@" diff --git a/layouts/partials/social.html b/layouts/partials/social.html index 6b66737..f940733 100644 --- a/layouts/partials/social.html +++ b/layouts/partials/social.html @@ -38,6 +38,9 @@ {{ with .Site.Params.social.instagram }} {{ end }} + {{ with .Site.Params.social.pixelfed }} + + {{ end }} {{ with .Site.Params.social.stackoverflow }} {{ end }} @@ -156,6 +159,7 @@ {{ with .Site.Params.social.facebook }}"https://facebook.com/{{.}}",{{ end }} {{ with .Site.Params.social.github }}"https://github.com/{{.}}",{{ end }} {{ with .Site.Params.social.instagram }}"https://instagram.com/{{.}}",{{ end }} + {{ with .Site.Params.social.pixelfed }}"{{.}}",{{ end }} {{ with .Site.Params.social.linkedin }}"https://linkedin.com/in/{{.}}",{{ end }} {{ with .Site.Params.social.stackoverflow }}"https://stackoverflow.com/users/{{.}}",{{ end }} {{ with .Site.Params.social.medium}}"https://medium.com/{{.}}",{{ end }}