Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/vickylaixy/hugo-theme-introduction.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSascha Mann <git@mail.saschamann.eu>2019-01-14 00:52:57 +0300
committerSascha Mann <git@mail.saschamann.eu>2019-01-14 00:52:57 +0300
commit7584ca2c4f30db8fd9d1aa59b11f25efff0fbce8 (patch)
tree173743e769b271d2f7a6b61d68d53f56082f687e /exampleSite/config.toml
parent819c0588650c23a85e6d1b10fc1a47c2db72a5ec (diff)
Add HTML attributes to social links
* Insert arbitrary HTML attributes to social links via config.toml (fixes #121)
Diffstat (limited to 'exampleSite/config.toml')
-rw-r--r--exampleSite/config.toml5
1 files changed, 5 insertions, 0 deletions
diff --git a/exampleSite/config.toml b/exampleSite/config.toml
index 08aabc8..8eeb84d 100644
--- a/exampleSite/config.toml
+++ b/exampleSite/config.toml
@@ -53,6 +53,11 @@ DefaultContentLanguage = "en" # Default language fo
url = "mailto:youremail@email.com" # For a direct email link, use "mailto:test@example.org".
icon = "paper-plane" # icon name without the 'fa-'
icon_pack = "fas"
+ [[params.social]]
+ url = "https://mastodon.social/"
+ icon = "mastodon" # icon name without the 'fa-'
+ icon_pack = "fab"
+ html_attributes = "rel=\"me\"" # Add rel attribute for Mastodon profile link verification
# If you don't want to use the default menu, you can define one by yourself