Skip to content

Commit

Permalink
feat: Social add QQ and QQGroup support (#256)
Browse files Browse the repository at this point in the history
* feat: Social add QQ and QQGroup support

* chore: add prefix to QQ and QQGroup

* chore: adjust social weight

Co-authored-by: HEIGE-PCloud <heige.pcloud@outlook.com>
Co-authored-by: PCloud <52968553+HEIGE-PCloud@users.noreply.github.com>
  • Loading branch information
3 people committed Oct 3, 2021
1 parent 0b5c679 commit db79905
Show file tree
Hide file tree
Showing 6 changed files with 29 additions and 3 deletions.
20 changes: 18 additions & 2 deletions assets/data/social.yml
Original file line number Diff line number Diff line change
Expand Up @@ -533,17 +533,33 @@ linktree:
Icon:
Simpleicons: linktree

# 068: QQ
qq:
Weight: 68
Prefix: https://sighttp.qq.com/authd?IDKEY=
Title: QQ
Icon:
Src: svg/icons/qq.svg

# 069: QQGroup
qqgroup:
Weight: 69
Prefix: https://qm.qq.com/cgi-bin/qm/qr?k=
Title: QQGroup
Icon:
Src: svg/icons/qqGroup.svg

# 068: Email
email:
Weight: 68
Weight: 70
Template: mailto:%v
Title: Email
Icon:
Class: far fa-envelope fa-fw

# 069: RSS
rss:
Weight: 69
Weight: 71
Url: /index.xml
Title: RSS
Newtab: true
Expand Down
1 change: 1 addition & 0 deletions assets/svg/icons/qq.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions assets/svg/icons/qqGroup.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 5 additions & 1 deletion exampleSite/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -246,6 +246,8 @@ enableEmoji = true
Matrix = ""
Bilibili = ""
ORCID = ""
QQ = ""
QQGroup = ""
Liberapay = "xxx"
Ko-Fi = "xxx"
BuyMeACoffee = ""
Expand Down Expand Up @@ -481,6 +483,8 @@ enableEmoji = true
Ko-Fi = ""
BuyMeACoffee = ""
Linktree = ""
QQ = ""
QQGroup = ""
Email = "xxxx@xxxx.com"
RSS = true

Expand Down Expand Up @@ -1059,4 +1063,4 @@ enableEmoji = true
author = "authors"
category = "categories"
tag = "tags"
series = "series"
series = "series"
Original file line number Diff line number Diff line change
Expand Up @@ -417,6 +417,8 @@ Please open the code block below to view the complete sample configuration :(far
Ko-Fi = ""
BuyMeACoffee = ""
Linktree = ""
QQ = ""
QQGroup = ""
Email = "xxxx@xxxx.com"
RSS = true # {{< version 0.2.0 >}}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -421,6 +421,8 @@ hugo
Ko-Fi = ""
BuyMeACoffee = ""
Linktree = ""
QQ = ""
QQGroup = ""
Email = "xxxx@xxxx.com"
RSS = true # {{< version 0.2.0 >}}

Expand Down

1 comment on commit db79905

@vercel
Copy link

@vercel vercel bot commented on db79905 Oct 3, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.