Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Custom icons #197

Merged
merged 4 commits into from
Aug 31, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 12 additions & 5 deletions assets/data/social.yml
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ stackoverflow:
Prefix: https://stackoverflow.com/users/
Title: Stack Overflow
Icon:
Class: fab fa-codepen fa-fw
Simpleicons: stackoverflow

# 021: 微博
weibo:
Expand Down Expand Up @@ -517,18 +517,25 @@ ko-fi:
Icon:
Simpleicons: ko-fi

# 066: BuyMeaCoffee
buymeacoffee:
Weight: 66
Prefix: https://www.buymeacoffee.com/
Title: BuyMeaCoffee
Icon:
Simpleicons: buymeacoffee

# 066: Email
# 067: Email
email:
Weight: 66
Weight: 67
Template: mailto:%v
Title: Email
Icon:
Class: far fa-envelope fa-fw

# 067: RSS
# 068: RSS
rss:
Weight: 67
Weight: 68
Url: /index.xml
Title: RSS
Newtab: true
Expand Down
2 changes: 2 additions & 0 deletions exampleSite/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -248,6 +248,7 @@ enableEmoji = true
ORCID = ""
Liberapay = "xxx"
Ko-Fi = "xxx"
BuyMeACoffee = ""
Email = "xxxx@xxxx.com"
RSS = true
[languages.en.params.social.Mastodon]
Expand Down Expand Up @@ -477,6 +478,7 @@ enableEmoji = true
ORCID = ""
Liberapay = ""
Ko-Fi = ""
BuyMeACoffee = ""
Email = "xxxx@xxxx.com"
RSS = true

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -413,6 +413,7 @@ Please open the code block below to view the complete sample configuration :(far
ORCID = ""
Liberapay = ""
Ko-Fi = ""
BuyMeACoffee = ""
Email = "xxxx@xxxx.com"
RSS = true # {{< version 0.2.0 >}}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -417,6 +417,7 @@ hugo
ORCID = ""
Liberapay = ""
Ko-Fi = ""
BuyMeACoffee = ""
Email = "xxxx@xxxx.com"
RSS = true # {{< version 0.2.0 >}}

Expand Down

Large diffs are not rendered by default.