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

add diaspora* social network #393

Merged
merged 1 commit into from
Dec 14, 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
15 changes: 11 additions & 4 deletions assets/data/social.yml
Original file line number Diff line number Diff line change
Expand Up @@ -549,17 +549,24 @@ qqgroup:
Icon:
Src: svg/icons/qqGroup.svg

# 068: Email
email:
# 070: Diaspora
diaspora:
Weight: 70
Title: diaspora*
Icon:
Simpleicons: diaspora

# 071: Email
email:
Weight: 71
Template: mailto:%v
Title: Email
Icon:
Class: far fa-envelope fa-fw

# 069: RSS
# 072: RSS
rss:
Weight: 71
Weight: 72
Url: /index.xml
Title: RSS
Newtab: true
Expand Down
2 changes: 1 addition & 1 deletion assets/js/theme.min.js.map

Large diffs are not rendered by default.

4 changes: 4 additions & 0 deletions exampleSite/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -265,6 +265,9 @@ enableEmoji = true
[languages.en.params.social.Mastodon]
id = "@xxxx"
prefix = "https://mastodon.technology/"
[languages.en.params.social.Diaspora]
id = "@xxxx"
prefix = "https://yyyy/"
# Sponsor config
[languages.en.params.sponsor]
enable = false
Expand Down Expand Up @@ -508,6 +511,7 @@ enableEmoji = true
Linktree = ""
QQ = ""
QQGroup = ""
Diaspora = ""
Email = "xxxx@xxxx.com"
RSS = true
# 赞助设置
Expand Down
Loading