mirror of
https://github.com/dillonzq/LoveIt.git
synced 2025-03-13 11:18:15 +01:00
feat(social): add social link Threads and HuggingFace (#945)
This commit is contained in:
parent
4d68cd6383
commit
a8be674413
10 changed files with 33 additions and 7 deletions
|
@ -85,7 +85,7 @@ I hope you will LoveIt ❤️!
|
|||
|
||||
* **Gravatar** supported by [Gravatar](https://gravatar.com)
|
||||
* Local **Avatar** supported
|
||||
* Up to **76** social links supported
|
||||
* Up to **81** social links supported
|
||||
* Up to **27** share sites supported
|
||||
* **Disqus** comment system supported by [Disqus](https://disqus.com)
|
||||
* **Gitalk** comment system supported by [Gitalk](https://github.com/gitalk/gitalk)
|
||||
|
|
|
@ -80,7 +80,7 @@
|
|||
|
||||
* 支持 **[Gravatar](https://gravatar.com)** 头像
|
||||
* 支持本地**头像**
|
||||
* 支持多达 **76** 种社交链接
|
||||
* 支持多达 **81** 种社交链接
|
||||
* 支持多达 **27** 种网站分享
|
||||
* 支持 **[Disqus](https://disqus.com)** 评论系统
|
||||
* 支持 **[Gitalk](https://github.com/gitalk/gitalk)** 评论系统
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# 001: Github
|
||||
# 001: GitHub
|
||||
github:
|
||||
Weight: 1
|
||||
Prefix: https://github.com/
|
||||
|
@ -33,7 +33,7 @@ instagram:
|
|||
Icon:
|
||||
Class: fab fa-instagram fa-fw
|
||||
|
||||
# 005: facebook
|
||||
# 005: Facebook
|
||||
facebook:
|
||||
Weight: 5
|
||||
Prefix: https://facebook.com/
|
||||
|
@ -604,6 +604,22 @@ codeberg:
|
|||
Icon:
|
||||
Simpleicons: codeberg
|
||||
|
||||
# 077: Hugging Face
|
||||
huggingface:
|
||||
Weight: 77
|
||||
Title: Hugging Face
|
||||
Prefix: https://huggingface.co/
|
||||
Icon:
|
||||
Simpleicons: huggingface
|
||||
|
||||
# 078: Threads
|
||||
threads:
|
||||
Weight: 78
|
||||
Title: Threads
|
||||
Prefix: https://www.threads.net/@
|
||||
Icon:
|
||||
Class: fab fa-threads fa-fw
|
||||
|
||||
# Phone
|
||||
phone:
|
||||
Weight: 98
|
||||
|
|
|
@ -53,7 +53,7 @@ math:
|
|||
|
||||
* :(far fa-user fa-fw): **Gravatar** supported by [Gravatar](https://gravatar.com)
|
||||
* :(fas fa-user-circle fa-fw): Local **Avatar** supported
|
||||
* :(far fa-id-card fa-fw): Up to **76** social links supported
|
||||
* :(far fa-id-card fa-fw): Up to **81** social links supported
|
||||
* :(fas fa-share-square fa-fw): Up to **27** share sites supported
|
||||
* :(far fa-comment fa-fw): **Disqus** comment system supported by [Disqus](https://disqus.com)
|
||||
* :(far fa-comment-dots fa-fw): **Gitalk** comment system supported by [Gitalk](https://github.com/gitalk/gitalk)
|
||||
|
|
|
@ -53,7 +53,7 @@ math:
|
|||
|
||||
* :(far fa-user fa-fw): 支持 **[Gravatar](https://gravatar.com)** 头像
|
||||
* :(fas fa-user-circle fa-fw): 支持本地**头像**
|
||||
* :(far fa-id-card fa-fw): 支持多达 **76** 种社交链接
|
||||
* :(far fa-id-card fa-fw): 支持多达 **81** 种社交链接
|
||||
* :(fas fa-share-square fa-fw): 支持多达 **27** 种网站分享
|
||||
* :(far fa-comment fa-fw): 支持 **[Disqus](https://disqus.com)** 评论系统
|
||||
* :(far fa-comment-dots fa-fw): 支持 **[Gitalk](https://github.com/gitalk/gitalk)** 评论系统
|
||||
|
|
|
@ -491,6 +491,8 @@ ignoreErrors = ["error-remote-getjson", "error-missing-instagram-accesstoken"]
|
|||
TikTok = "" # {{< version 0.3.0 >}}
|
||||
TryHackMe = "" # {{< version 0.3.0 >}}
|
||||
Codeberg = "" # {{< version 0.3.0 >}}
|
||||
HuggingFace = "" # {{< version 0.3.1 >}}
|
||||
Threads = "" # {{< version 0.3.1 >}}
|
||||
Phone = ""
|
||||
Email = "xxxx@xxxx.com"
|
||||
RSS = true # {{< version 0.2.0 >}}
|
||||
|
|
|
@ -493,6 +493,8 @@ ignoreErrors = ["error-remote-getjson", "error-missing-instagram-accesstoken"]
|
|||
TikTok = "" # {{< version 0.3.0 >}}
|
||||
TryHackMe = "" # {{< version 0.3.0 >}}
|
||||
Codeberg = "" # {{< version 0.3.0 >}}
|
||||
HuggingFace = "" # {{< version 0.3.1 >}}
|
||||
Threads = "" # {{< version 0.3.1 >}}
|
||||
Phone = ""
|
||||
Email = "xxxx@xxxx.com"
|
||||
RSS = true # {{< version 0.2.0 >}}
|
||||
|
|
|
@ -364,6 +364,8 @@ ignoreErrors = ["error-remote-getjson", "error-missing-instagram-accesstoken"]
|
|||
TikTok = ""
|
||||
TryHackMe = ""
|
||||
Codeberg = ""
|
||||
HuggingFace = ""
|
||||
Threads = ""
|
||||
Email = ""
|
||||
RSS = ""
|
||||
|
||||
|
@ -881,6 +883,8 @@ ignoreErrors = ["error-remote-getjson", "error-missing-instagram-accesstoken"]
|
|||
Facebook = "xxxx"
|
||||
Telegram = "xxxx"
|
||||
Youtubelegacy = "xxxx"
|
||||
HuggingFace = "xxxx"
|
||||
Threads = "xxxx"
|
||||
Phone = "555-555-555"
|
||||
Email = "xxxx@xxxx.com"
|
||||
RSS = true
|
||||
|
|
|
@ -283,6 +283,8 @@
|
|||
TikTok = ""
|
||||
TryHackMe = ""
|
||||
Codeberg = ""
|
||||
HuggingFace = ""
|
||||
Threads = ""
|
||||
Email = ""
|
||||
Phone = ""
|
||||
RSS = ""
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
{{- else -}}
|
||||
{{- $template := .Template | default "%v" -}}
|
||||
{{- with .Prefix -}}
|
||||
{{- $template = . | strings.TrimSuffix "/" | printf "%v/%%v" -}}
|
||||
{{- $template = . | printf "%v%%v" -}}
|
||||
{{- end -}}
|
||||
{{- $destination = printf (string $template) .Id -}}
|
||||
{{- end -}}
|
||||
|
|
Loading…
Add table
Reference in a new issue