mirror of
https://github.com/dillonzq/LoveIt.git
synced 2025-04-12 08:47:36 +02:00
feat(home): add disclaimer under social links on home page (#175)
This commit is contained in:
parent
41c2d3a38e
commit
0ca8a4c85b
14 changed files with 581 additions and 549 deletions
README.mdREADME.zh-cn.md
assets/css/_page
exampleSite
config.toml
content
layouts/partials
resources/_gen/assets/scss/css
|
@ -76,7 +76,7 @@ I hope you will LoveIt ❤️!
|
|||
|
||||
* **Gravatar** supported by [Gravatar](https://gravatar.com)
|
||||
* Local **Avatar** support
|
||||
* Up to **59** social sites supported
|
||||
* Up to **61** social sites supported
|
||||
* Up to **28** share sites support
|
||||
* **Disqus** comment system supported by [Disqus](https://disqus.com)
|
||||
* **Gitalk** comment system supported by [Gitalk](https://github.com/gitalk/gitalk)
|
||||
|
|
|
@ -71,7 +71,7 @@
|
|||
|
||||
* 支持 **[Gravatar](https://gravatar.com)** 头像
|
||||
* 支持本地**头像**
|
||||
* 支持多达 **59** 种社交链接
|
||||
* 支持多达 **61** 种社交链接
|
||||
* 支持多达 **28** 种网站分享
|
||||
* 支持 **[Disqus](https://disqus.com)** 评论系统
|
||||
* 支持 **[Gitalk](https://github.com/gitalk/gitalk)** 评论系统
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
-ms-transform: translateY(if($posts, 0, 16vh));
|
||||
-o-transform: translateY(if($posts, 0, 16vh));
|
||||
transform: translateY(if($posts, 0, 16vh));
|
||||
padding: if($posts, 2rem, 0) 0;
|
||||
padding: if($posts, 2rem, 0) 0 .5rem;
|
||||
text-align: center;
|
||||
|
||||
.home-avatar {
|
||||
|
@ -43,15 +43,15 @@
|
|||
}
|
||||
}
|
||||
|
||||
.home-description {
|
||||
.home-subtitle {
|
||||
font-size: 1rem;
|
||||
font-weight: normal;
|
||||
margin: 0;
|
||||
padding: .4rem;
|
||||
}
|
||||
|
||||
.home-social-links {
|
||||
padding: .6rem 0;
|
||||
.social-links {
|
||||
padding: .4rem 0;
|
||||
|
||||
a, i {
|
||||
font-size: 1.6rem;
|
||||
|
@ -63,6 +63,19 @@
|
|||
padding: 0 .25rem;
|
||||
}
|
||||
}
|
||||
|
||||
.home-disclaimer {
|
||||
font-size: 1rem;
|
||||
line-height: 1.4rem;
|
||||
font-weight: normal;
|
||||
margin: 0;
|
||||
padding: .4rem;
|
||||
color: $global-font-secondary-color;
|
||||
|
||||
.dark-theme & {
|
||||
color: $global-font-secondary-color-dark;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -86,167 +86,169 @@ enableEmoji = true
|
|||
url = "https://github.com/dillonzq/LoveIt"
|
||||
title = "GitHub"
|
||||
weight = 6
|
||||
[languages.en.params]
|
||||
# site description
|
||||
description = "About LoveIt Theme"
|
||||
# site keywords
|
||||
keywords = ["Theme", "Hugo"]
|
||||
# site default theme ("light", "dark", "auto")
|
||||
defaultTheme = "auto"
|
||||
# Home Page Info
|
||||
[languages.en.params.home]
|
||||
# Home Page Profile
|
||||
[languages.en.params.home.profile]
|
||||
enable = true
|
||||
# Gravatar Email for preferred avatar in home page
|
||||
gravatarEmail = ""
|
||||
# URL of avatar shown in home page
|
||||
avatarURL = "/images/avatar.png"
|
||||
# subtitle shown in home page
|
||||
subtitle = "A Clean, Elegant but Advanced Hugo Theme"
|
||||
# whether to use typeit animation for subtitle
|
||||
typeit = true
|
||||
# whether to show social links
|
||||
social = true
|
||||
# Home Page Posts
|
||||
[languages.en.params.home.posts]
|
||||
enable = true
|
||||
# special amount of posts in each home posts page
|
||||
paginate = 6
|
||||
# default behavior when you don't set "hiddenFromHomePage" in front matter
|
||||
defaultHiddenFromHomePage = false
|
||||
# Social Info in home page
|
||||
[languages.en.params.social]
|
||||
GitHub = "xxxx"
|
||||
Linkedin = "xxxx"
|
||||
Twitter = "xxxx"
|
||||
Instagram = "xxxx"
|
||||
Email = "xxxx@xxxx.com"
|
||||
Facebook = "xxxx"
|
||||
Telegram = "xxxx"
|
||||
# Medium = "xxxx"
|
||||
# Gitlab = "xxxx"
|
||||
Youtubelegacy = "xxxx"
|
||||
# Youtubecustom = "xxxx"
|
||||
# Youtubechannel = "xxxx"
|
||||
# Tumblr ="xxxx"
|
||||
# Quora = "xxxx"
|
||||
# Keybase = "xxxx"
|
||||
# Pinterest = "xxxx"
|
||||
# Reddit = "xxxx"
|
||||
# Codepen = "xxxx"
|
||||
# FreeCodeCamp = "xxxx"
|
||||
# Bitbucket = "xxxx"
|
||||
# Stackoverflow = "xxxx"
|
||||
# Weibo = "xxxx"
|
||||
# Odnoklassniki = "xxxx"
|
||||
# VK = "xxxx"
|
||||
# Flickr = "xxxx"
|
||||
# Xing = "xxxx"
|
||||
# Snapchat = "xxxx"
|
||||
# Soundcloud = "xxxx"
|
||||
# Spotify = "xxxx"
|
||||
# Bandcamp = "xxxx"
|
||||
# Paypal = "xxxx"
|
||||
# Fivehundredpx = "xxxx"
|
||||
# Mix = "xxxx"
|
||||
# Goodreads = "xxxx"
|
||||
# Lastfm = "xxxx"
|
||||
# Foursquare = "xxxx"
|
||||
# Hackernews = "xxxx"
|
||||
# Kickstarter = "xxxx"
|
||||
# Patreon = "xxxx"
|
||||
# Steam = "xxxx"
|
||||
# Twitch = "xxxx"
|
||||
# Strava = "xxxx"
|
||||
# Skype = "xxxx"
|
||||
# Whatsapp = "xxxx"
|
||||
# Zhihu = "xxxx"
|
||||
# Douban = "xxxx"
|
||||
# Angellist = "xxxx"
|
||||
# Slidershare = "xxxx"
|
||||
# Jsfiddle = "xxxx"
|
||||
# Deviantart = "xxxx"
|
||||
# Behance = "xxxx"
|
||||
# Dribble = "xxxx"
|
||||
# Wordpress = "xxxx"
|
||||
# Vine = "xxxx"
|
||||
# Googlescholar = "xxxx"
|
||||
# Researchgate = "xxxx"
|
||||
# Mastodon = "xxxx"
|
||||
# MastodonPrefix = "https://mastodon.technology/"
|
||||
# Thingiverse = "xxxx"
|
||||
# Devto = "xxxx"
|
||||
# Gitea = "xxxx"
|
||||
# XMPP = "xxxx"
|
||||
# Matrix = "xxxx"
|
||||
# Bilibili = "xxxx"
|
||||
# Social Share Links in post page
|
||||
[languages.en.params.share]
|
||||
[languages.en.params]
|
||||
# site description
|
||||
description = "About LoveIt Theme"
|
||||
# site keywords
|
||||
keywords = ["Theme", "Hugo"]
|
||||
# site default theme ("light", "dark", "auto")
|
||||
defaultTheme = "auto"
|
||||
# Home Page Info
|
||||
[languages.en.params.home]
|
||||
# Home Page Profile
|
||||
[languages.en.params.home.profile]
|
||||
enable = true
|
||||
Twitter = true
|
||||
Facebook = true
|
||||
Linkedin = true
|
||||
Whatsapp = true
|
||||
Pinterest = true
|
||||
# Tumblr = true
|
||||
HackerNews = true
|
||||
# Reddit = true
|
||||
# VK = true
|
||||
# Buffer = true
|
||||
# Xing = true
|
||||
# Line = true
|
||||
# Instapaper = true
|
||||
# Pocket = true
|
||||
# Digg = true
|
||||
# Stumbleupon = true
|
||||
# Flipboard = true
|
||||
# Weibo = true
|
||||
# Renren = true
|
||||
# Myspace = true
|
||||
# Blogger = true
|
||||
# Baidu = true
|
||||
# Odnoklassniki = true
|
||||
# Evernote = true
|
||||
# Skype = true
|
||||
# Trello = true
|
||||
# Mix = true
|
||||
# Comment Config
|
||||
[languages.en.params.comment]
|
||||
# Gravatar Email for preferred avatar in home page
|
||||
gravatarEmail = ""
|
||||
# URL of avatar shown in home page
|
||||
avatarURL = "/images/avatar.png"
|
||||
# subtitle shown in home page
|
||||
subtitle = "A Clean, Elegant but Advanced Hugo Theme"
|
||||
# whether to use typeit animation for subtitle
|
||||
typeit = true
|
||||
# whether to show social links
|
||||
social = true
|
||||
# disclaimer (HTML format is allowed)
|
||||
disclaimer = ""
|
||||
# Home Page Posts
|
||||
[languages.en.params.home.posts]
|
||||
enable = true
|
||||
# Disqus Comment Config (https://disqus.com/)
|
||||
[languages.en.params.comment.disqus]
|
||||
enable = false
|
||||
# Disqus shortname to use Disqus in posts
|
||||
shortname = ""
|
||||
# Gitalk Comment Config (https://github.com/gitalk/gitalk)
|
||||
[languages.en.params.comment.gitalk]
|
||||
enable = false
|
||||
owner = ""
|
||||
repo = ""
|
||||
clientId = ""
|
||||
clientSecret = ""
|
||||
# Valine Comment Config (https://github.com/xCss/Valine)
|
||||
[languages.en.params.comment.valine]
|
||||
enable = true
|
||||
appId = "QGzwQXOqs5JOhN4RGPOkR2mR-MdYXbMMI"
|
||||
appKey = "WBmoGyJtbqUswvfLh6L8iEBr"
|
||||
placeholder = "Your comment ..."
|
||||
notify = false
|
||||
verify = true
|
||||
avatar = "mp"
|
||||
meta= ""
|
||||
pageSize = 10
|
||||
lang = "en"
|
||||
visitor = true
|
||||
recordIP = true
|
||||
# Facebook Comment Config (https://developers.facebook.com/docs/plugins/comments)
|
||||
[languages.en.params.comment.facebook]
|
||||
enable = false
|
||||
width = "100%"
|
||||
numPosts = 10
|
||||
appId = ""
|
||||
languageCode = "en_US"
|
||||
# special amount of posts in each home posts page
|
||||
paginate = 6
|
||||
# default behavior when you don't set "hiddenFromHomePage" in front matter
|
||||
defaultHiddenFromHomePage = false
|
||||
# Social Info in home page
|
||||
[languages.en.params.social]
|
||||
GitHub = "xxxx"
|
||||
Linkedin = "xxxx"
|
||||
Twitter = "xxxx"
|
||||
Instagram = "xxxx"
|
||||
Email = "xxxx@xxxx.com"
|
||||
Facebook = "xxxx"
|
||||
Telegram = "xxxx"
|
||||
# Medium = "xxxx"
|
||||
# Gitlab = "xxxx"
|
||||
Youtubelegacy = "xxxx"
|
||||
# Youtubecustom = "xxxx"
|
||||
# Youtubechannel = "xxxx"
|
||||
# Tumblr ="xxxx"
|
||||
# Quora = "xxxx"
|
||||
# Keybase = "xxxx"
|
||||
# Pinterest = "xxxx"
|
||||
# Reddit = "xxxx"
|
||||
# Codepen = "xxxx"
|
||||
# FreeCodeCamp = "xxxx"
|
||||
# Bitbucket = "xxxx"
|
||||
# Stackoverflow = "xxxx"
|
||||
# Weibo = "xxxx"
|
||||
# Odnoklassniki = "xxxx"
|
||||
# VK = "xxxx"
|
||||
# Flickr = "xxxx"
|
||||
# Xing = "xxxx"
|
||||
# Snapchat = "xxxx"
|
||||
# Soundcloud = "xxxx"
|
||||
# Spotify = "xxxx"
|
||||
# Bandcamp = "xxxx"
|
||||
# Paypal = "xxxx"
|
||||
# Fivehundredpx = "xxxx"
|
||||
# Mix = "xxxx"
|
||||
# Goodreads = "xxxx"
|
||||
# Lastfm = "xxxx"
|
||||
# Foursquare = "xxxx"
|
||||
# Hackernews = "xxxx"
|
||||
# Kickstarter = "xxxx"
|
||||
# Patreon = "xxxx"
|
||||
# Steam = "xxxx"
|
||||
# Twitch = "xxxx"
|
||||
# Strava = "xxxx"
|
||||
# Skype = "xxxx"
|
||||
# Whatsapp = "xxxx"
|
||||
# Zhihu = "xxxx"
|
||||
# Douban = "xxxx"
|
||||
# Angellist = "xxxx"
|
||||
# Slidershare = "xxxx"
|
||||
# Jsfiddle = "xxxx"
|
||||
# Deviantart = "xxxx"
|
||||
# Behance = "xxxx"
|
||||
# Dribble = "xxxx"
|
||||
# Wordpress = "xxxx"
|
||||
# Vine = "xxxx"
|
||||
# Googlescholar = "xxxx"
|
||||
# Researchgate = "xxxx"
|
||||
# Mastodon = "xxxx"
|
||||
# MastodonPrefix = "https://mastodon.technology/"
|
||||
# Thingiverse = "xxxx"
|
||||
# Devto = "xxxx"
|
||||
# Gitea = "xxxx"
|
||||
# XMPP = "xxxx"
|
||||
# Matrix = "xxxx"
|
||||
# Bilibili = "xxxx"
|
||||
# Social Share Links in post page
|
||||
[languages.en.params.share]
|
||||
enable = true
|
||||
Twitter = true
|
||||
Facebook = true
|
||||
Linkedin = true
|
||||
Whatsapp = true
|
||||
Pinterest = true
|
||||
# Tumblr = true
|
||||
HackerNews = true
|
||||
# Reddit = true
|
||||
# VK = true
|
||||
# Buffer = true
|
||||
# Xing = true
|
||||
# Line = true
|
||||
# Instapaper = true
|
||||
# Pocket = true
|
||||
# Digg = true
|
||||
# Stumbleupon = true
|
||||
# Flipboard = true
|
||||
# Weibo = true
|
||||
# Renren = true
|
||||
# Myspace = true
|
||||
# Blogger = true
|
||||
# Baidu = true
|
||||
# Odnoklassniki = true
|
||||
# Evernote = true
|
||||
# Skype = true
|
||||
# Trello = true
|
||||
# Mix = true
|
||||
# Comment Config
|
||||
[languages.en.params.comment]
|
||||
enable = true
|
||||
# Disqus Comment Config (https://disqus.com/)
|
||||
[languages.en.params.comment.disqus]
|
||||
enable = false
|
||||
# Disqus shortname to use Disqus in posts
|
||||
shortname = ""
|
||||
# Gitalk Comment Config (https://github.com/gitalk/gitalk)
|
||||
[languages.en.params.comment.gitalk]
|
||||
enable = false
|
||||
owner = ""
|
||||
repo = ""
|
||||
clientId = ""
|
||||
clientSecret = ""
|
||||
# Valine Comment Config (https://github.com/xCss/Valine)
|
||||
[languages.en.params.comment.valine]
|
||||
enable = true
|
||||
appId = "QGzwQXOqs5JOhN4RGPOkR2mR-MdYXbMMI"
|
||||
appKey = "WBmoGyJtbqUswvfLh6L8iEBr"
|
||||
placeholder = "Your comment ..."
|
||||
notify = false
|
||||
verify = true
|
||||
avatar = "mp"
|
||||
meta= ""
|
||||
pageSize = 10
|
||||
lang = "en"
|
||||
visitor = true
|
||||
recordIP = true
|
||||
# Facebook Comment Config (https://developers.facebook.com/docs/plugins/comments)
|
||||
[languages.en.params.comment.facebook]
|
||||
enable = false
|
||||
width = "100%"
|
||||
numPosts = 10
|
||||
appId = ""
|
||||
languageCode = "en_US"
|
||||
|
||||
[languages.zh-cn]
|
||||
weight = 2
|
||||
|
@ -330,6 +332,8 @@ enableEmoji = true
|
|||
typeit = true
|
||||
# 是否显示社交账号
|
||||
social = true
|
||||
# 免责声明 (允许使用 HTML 格式)
|
||||
disclaimer = ""
|
||||
# 主页文章列表
|
||||
[languages.zh-cn.params.home.posts]
|
||||
enable = true
|
||||
|
@ -552,6 +556,8 @@ enableEmoji = true
|
|||
typeit = true
|
||||
# whether to show social links
|
||||
social = true
|
||||
# disclaimer (HTML format is allowed)
|
||||
disclaimer = ""
|
||||
# Home Page Posts
|
||||
[languages.fr.params.home.posts]
|
||||
enable = true
|
||||
|
|
|
@ -44,7 +44,7 @@ It is based on the original [LeaveIt Theme](https://github.com/liuzc/LeaveIt/) a
|
|||
|
||||
* :(far fa-user): **Gravatar** supported by [Gravatar](https://gravatar.com)
|
||||
* :(fas fa-user-circle): Local **Avatar** support
|
||||
* :(far fa-id-card): Up to **59** social sites supported
|
||||
* :(far fa-id-card): Up to **61** social sites supported
|
||||
* :(fas fa-share-square): Up to **28** share sites support
|
||||
* :(far fa-comment): **Disqus** comment system supported by [Disqus](https://disqus.com)
|
||||
* :(far fa-comment-dots): **Gitalk** comment system supported by [Gitalk](https://github.com/gitalk/gitalk)
|
||||
|
|
|
@ -49,7 +49,7 @@ It is based on the original [LeaveIt Theme](https://github.com/liuzc/LeaveIt/) a
|
|||
|
||||
* :(far fa-user): **Gravatar** supported by [Gravatar](https://gravatar.com)
|
||||
* :(fas fa-user-circle): Local **Avatar** support
|
||||
* :(far fa-id-card): Up to **59** social sites supported
|
||||
* :(far fa-id-card): Up to **61** social sites supported
|
||||
* :(fas fa-share-square): Up to **28** share sites support
|
||||
* :(far fa-comment): **Disqus** comment system supported by [Disqus](https://disqus.com)
|
||||
* :(far fa-comment-dots): **Gitalk** comment system supported by [Gitalk](https://github.com/gitalk/gitalk)
|
||||
|
|
|
@ -44,7 +44,7 @@ lightgallery: true
|
|||
|
||||
* :(far fa-user): 支持 **[Gravatar](https://gravatar.com)** 头像
|
||||
* :(fas fa-user-circle): 支持本地**头像**
|
||||
* :(far fa-id-card): 支持多达 **59** 种社交链接
|
||||
* :(far fa-id-card): 支持多达 **61** 种社交链接
|
||||
* :(fas fa-share-square): 支持多达 **28** 种网站分享
|
||||
* :(far fa-comment): 支持 **[Disqus](https://disqus.com)** 评论系统
|
||||
* :(far fa-comment-dots): 支持 **[Gitalk](https://github.com/gitalk/gitalk)** 评论系统
|
||||
|
|
|
@ -221,6 +221,9 @@ Note that some of these parameters are explained in details in other sections of
|
|||
typeit = true
|
||||
# whether to show social links
|
||||
social = true
|
||||
# {{< version 0.2.0 >}}
|
||||
# disclaimer (HTML format is allowed)
|
||||
disclaimer = ""
|
||||
# Home Page Posts
|
||||
[params.home.posts]
|
||||
enable = true
|
||||
|
|
|
@ -221,6 +221,9 @@ Note that some of these parameters are explained in details in other sections of
|
|||
typeit = true
|
||||
# whether to show social links
|
||||
social = true
|
||||
# {{< version 0.2.0 >}}
|
||||
# disclaimer (HTML format is allowed)
|
||||
disclaimer = ""
|
||||
# Home Page Posts
|
||||
[params.home.posts]
|
||||
enable = true
|
||||
|
|
|
@ -224,6 +224,9 @@ hugo
|
|||
typeit = true
|
||||
# 是否显示社交账号
|
||||
social = true
|
||||
# {{< version 0.2.0 >}}
|
||||
# 免责声明 (允许使用 HTML 格式)
|
||||
disclaimer = ""
|
||||
# 主页文章列表
|
||||
[params.home.posts]
|
||||
enable = true
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
{{- /* Hugo and LoveIt */ -}}
|
||||
<div class="copyright-line">
|
||||
{{- $hugo := printf `<a href="https://gohugo.io/" target="_blank" rel="noopener noreffer" title="Hugo %s">Hugo</a>` hugo.Version -}}
|
||||
{{- printf (T "poweredBySome") $hugo | safeHTML }} | {{ T "theme" }} - <a href="https://github.com/dillonzq/LoveIt" target="_blank" rel="noopener noreffer" title="LoveIt v{{ $scratch.Get "version" }}"><i class="far fa-heart fa-fw"></i> LoveIt</a>
|
||||
{{- printf (T "poweredBySome") $hugo | safeHTML }} | {{ T "theme" }} - <a href="https://github.com/dillonzq/LoveIt" target="_blank" rel="noopener noreffer" title="LoveIt {{ $scratch.Get "version" }}"><i class="far fa-heart fa-fw"></i> LoveIt</a>
|
||||
</div>
|
||||
|
||||
<div class="copyright-line">
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
{{- end -}}
|
||||
|
||||
{{- with .Site.Params.home.profile.subtitle -}}
|
||||
<h2 class="home-description">
|
||||
<h2 class="home-subtitle">
|
||||
{{- if $.Site.Params.home.profile.typeit -}}
|
||||
{{- $id := partial "function/id.html" (dict "content" . "scratch" $scratch) -}}
|
||||
<div id="{{ $id }}" class="typeit"></div>
|
||||
|
@ -25,9 +25,13 @@
|
|||
</h2>
|
||||
{{- end -}}
|
||||
|
||||
<div class="home-social-links">
|
||||
{{- if .Site.Params.home.profile.social -}}
|
||||
{{- partial "plugin/social.html" . -}}
|
||||
{{- end -}}
|
||||
</div>
|
||||
{{- if .Site.Params.home.profile.social -}}
|
||||
{{- partial "plugin/social.html" (dict "social" .Site.Params.social "scratch" $scratch) -}}
|
||||
{{- end -}}
|
||||
|
||||
{{- with .Site.Params.home.profile.disclaimer -}}
|
||||
<h3 class="home-disclaimer">
|
||||
{{- . | safeHTML -}}
|
||||
</h3>
|
||||
{{- end -}}
|
||||
</div>
|
||||
|
|
|
@ -1,434 +1,434 @@
|
|||
{{- $scratch := .Scratch.Get "scratch" -}}
|
||||
<div class="social-links">
|
||||
{{- /* 001: Github */ -}}
|
||||
{{- with .social.Github -}}
|
||||
{{- $options := dict "href" (printf "https://github.com/%s" .) "title" "GitHub" "rel" "me" -}}
|
||||
{{- $options = dict "icon" (dict "class" "fab fa-github-alt fa-fw") | merge $options -}}
|
||||
{{- partial "plugin/link.html" $options -}}
|
||||
{{- end -}}
|
||||
|
||||
{{- /* 001: Github */ -}}
|
||||
{{- with .Site.Params.Social.Github -}}
|
||||
{{- $options := dict "href" (printf "https://github.com/%s" .) "title" "GitHub" "rel" "me" -}}
|
||||
{{- $options = dict "icon" (dict "class" "fab fa-github-alt fa-fw") | merge $options -}}
|
||||
{{- partial "plugin/link.html" $options -}}
|
||||
{{- end -}}
|
||||
{{- /* 002: LinkedIn */ -}}
|
||||
{{- with .social.LinkedIn -}}
|
||||
{{- $options := dict "href" (printf "https://linkedin.com/in/%s" .) "title" "LinkedIn" "rel" "me" -}}
|
||||
{{- $options = dict "icon" (dict "class" "fab fa-linkedin fa-fw") | merge $options -}}
|
||||
{{- partial "plugin/link.html" $options -}}
|
||||
{{- end -}}
|
||||
|
||||
{{- /* 002: LinkedIn */ -}}
|
||||
{{- with .Site.Params.Social.LinkedIn -}}
|
||||
{{- $options := dict "href" (printf "https://linkedin.com/in/%s" .) "title" "LinkedIn" "rel" "me" -}}
|
||||
{{- $options = dict "icon" (dict "class" "fab fa-linkedin fa-fw") | merge $options -}}
|
||||
{{- partial "plugin/link.html" $options -}}
|
||||
{{- end -}}
|
||||
{{- /* 003: Twitter */ -}}
|
||||
{{- with .social.Twitter -}}
|
||||
{{- $options := dict "href" (printf "https://twitter.com/%s" .) "title" "Twitter" "rel" "me" -}}
|
||||
{{- $options = dict "icon" (dict "class" "fab fa-twitter fa-fw") | merge $options -}}
|
||||
{{- partial "plugin/link.html" $options -}}
|
||||
{{- end -}}
|
||||
|
||||
{{- /* 003: Twitter */ -}}
|
||||
{{- with .Site.Params.Social.Twitter -}}
|
||||
{{- $options := dict "href" (printf "https://twitter.com/%s" .) "title" "Twitter" "rel" "me" -}}
|
||||
{{- $options = dict "icon" (dict "class" "fab fa-twitter fa-fw") | merge $options -}}
|
||||
{{- partial "plugin/link.html" $options -}}
|
||||
{{- end -}}
|
||||
{{- /* 004: Instagram */ -}}
|
||||
{{- with .social.Instagram -}}
|
||||
{{- $options := dict "href" (printf "https://www.instagram.com/%s" .) "title" "Instagram" "rel" "me" -}}
|
||||
{{- $options = dict "icon" (dict "class" "fab fa-instagram fa-fw") | merge $options -}}
|
||||
{{- partial "plugin/link.html" $options -}}
|
||||
{{- end -}}
|
||||
|
||||
{{- /* 004: Instagram */ -}}
|
||||
{{- with .Site.Params.Social.Instagram -}}
|
||||
{{- $options := dict "href" (printf "https://www.instagram.com/%s" .) "title" "Instagram" "rel" "me" -}}
|
||||
{{- $options = dict "icon" (dict "class" "fab fa-instagram fa-fw") | merge $options -}}
|
||||
{{- partial "plugin/link.html" $options -}}
|
||||
{{- end -}}
|
||||
{{- /* 005: Facebook */ -}}
|
||||
{{- with .social.Facebook -}}
|
||||
{{- $options := dict "href" (printf "https://facebook.com/%s" .) "title" "Facebook" "rel" "me" -}}
|
||||
{{- $options = dict "icon" (dict "class" "fab fa-facebook fa-fw") | merge $options -}}
|
||||
{{- partial "plugin/link.html" $options -}}
|
||||
{{- end -}}
|
||||
|
||||
{{- /* 005: Facebook */ -}}
|
||||
{{- with .Site.Params.Social.Facebook -}}
|
||||
{{- $options := dict "href" (printf "https://facebook.com/%s" .) "title" "Facebook" "rel" "me" -}}
|
||||
{{- $options = dict "icon" (dict "class" "fab fa-facebook fa-fw") | merge $options -}}
|
||||
{{- partial "plugin/link.html" $options -}}
|
||||
{{- end -}}
|
||||
{{- /* 006: Telegram */ -}}
|
||||
{{- with .social.Telegram -}}
|
||||
{{- $options := dict "href" (printf "https://t.me/%s" .) "title" "Telegram" "rel" "me" -}}
|
||||
{{- $options = dict "icon" (dict "class" "fab fa-telegram-plane fa-fw") | merge $options -}}
|
||||
{{- partial "plugin/link.html" $options -}}
|
||||
{{- end -}}
|
||||
|
||||
{{- /* 006: Telegram */ -}}
|
||||
{{- with .Site.Params.Social.Telegram -}}
|
||||
{{- $options := dict "href" (printf "https://t.me/%s" .) "title" "Telegram" "rel" "me" -}}
|
||||
{{- $options = dict "icon" (dict "class" "fab fa-telegram-plane fa-fw") | merge $options -}}
|
||||
{{- partial "plugin/link.html" $options -}}
|
||||
{{- end -}}
|
||||
{{- /* 007: Medium */ -}}
|
||||
{{- with .social.Medium -}}
|
||||
{{- $options := dict "href" (printf "https://medium.com/%s" .) "title" "Medium" "rel" "me" -}}
|
||||
{{- $options = dict "icon" (dict "class" "fab fa-medium fa-fw") | merge $options -}}
|
||||
{{- partial "plugin/link.html" $options -}}
|
||||
{{- end -}}
|
||||
|
||||
{{- /* 007: Medium */ -}}
|
||||
{{- with .Site.Params.Social.Medium -}}
|
||||
{{- $options := dict "href" (printf "https://medium.com/%s" .) "title" "Medium" "rel" "me" -}}
|
||||
{{- $options = dict "icon" (dict "class" "fab fa-medium fa-fw") | merge $options -}}
|
||||
{{- partial "plugin/link.html" $options -}}
|
||||
{{- end -}}
|
||||
{{- /* 008: Medium */ -}}
|
||||
{{- with .social.Gitlab -}}
|
||||
{{- $options := dict "href" (printf "https://gitlab.com/%s" .) "title" "GitLab" "rel" "me" -}}
|
||||
{{- $options = dict "icon" (dict "class" "fab fa-gitlab fa-fw") | merge $options -}}
|
||||
{{- partial "plugin/link.html" $options -}}
|
||||
{{- end -}}
|
||||
|
||||
{{- /* 008: Medium */ -}}
|
||||
{{- with .Site.Params.Social.Gitlab -}}
|
||||
{{- $options := dict "href" (printf "https://gitlab.com/%s" .) "title" "GitLab" "rel" "me" -}}
|
||||
{{- $options = dict "icon" (dict "class" "fab fa-gitlab fa-fw") | merge $options -}}
|
||||
{{- partial "plugin/link.html" $options -}}
|
||||
{{- end -}}
|
||||
{{- /* 009: YouTube Legacy */ -}}
|
||||
{{- with .social.Youtubelegacy -}}
|
||||
{{- $options := dict "href" (printf "https://www.youtube.com/user/%s" .) "title" "YouTube" "rel" "me" -}}
|
||||
{{- $options = dict "icon" (dict "class" "fab fa-youtube fa-fw") | merge $options -}}
|
||||
{{- partial "plugin/link.html" $options -}}
|
||||
{{- end -}}
|
||||
|
||||
{{- /* 009: YouTube Legacy */ -}}
|
||||
{{- with .Site.Params.Social.Youtubelegacy -}}
|
||||
{{- $options := dict "href" (printf "https://www.youtube.com/user/%s" .) "title" "YouTube" "rel" "me" -}}
|
||||
{{- $options = dict "icon" (dict "class" "fab fa-youtube fa-fw") | merge $options -}}
|
||||
{{- partial "plugin/link.html" $options -}}
|
||||
{{- end -}}
|
||||
{{- /* 010: YouTube Custom */ -}}
|
||||
{{- with .social.Youtubecustom -}}
|
||||
{{- $options := dict "href" (printf "https://www.youtube.com/c/%s" .) "title" "YouTube" "rel" "me" -}}
|
||||
{{- $options = dict "icon" (dict "class" "fab fa-youtube fa-fw") | merge $options -}}
|
||||
{{- partial "plugin/link.html" $options -}}
|
||||
{{- end -}}
|
||||
|
||||
{{- /* 010: YouTube Custom */ -}}
|
||||
{{- with .Site.Params.Social.Youtubecustom -}}
|
||||
{{- $options := dict "href" (printf "https://www.youtube.com/c/%s" .) "title" "YouTube" "rel" "me" -}}
|
||||
{{- $options = dict "icon" (dict "class" "fab fa-youtube fa-fw") | merge $options -}}
|
||||
{{- partial "plugin/link.html" $options -}}
|
||||
{{- end -}}
|
||||
{{- /* 011: Youtube Channel */ -}}
|
||||
{{- with .social.Youtubechannel -}}
|
||||
{{- $options := dict "href" (printf "https://www.youtube.com/channel/%s" .) "title" "YouTube" "rel" "me" -}}
|
||||
{{- $options = dict "icon" (dict "class" "fab fa-youtube fa-fw") | merge $options -}}
|
||||
{{- partial "plugin/link.html" $options -}}
|
||||
{{- end -}}
|
||||
|
||||
{{- /* 011: Youtube Channel */ -}}
|
||||
{{- with .Site.Params.Social.Youtubechannel -}}
|
||||
{{- $options := dict "href" (printf "https://www.youtube.com/channel/%s" .) "title" "YouTube" "rel" "me" -}}
|
||||
{{- $options = dict "icon" (dict "class" "fab fa-youtube fa-fw") | merge $options -}}
|
||||
{{- partial "plugin/link.html" $options -}}
|
||||
{{- end -}}
|
||||
{{- /* 012: Tumblr */ -}}
|
||||
{{- with .social.Tumblr -}}
|
||||
{{- $options := dict "href" (printf "https://%s.tumblr.com" .) "title" "Tumblr" "rel" "me" -}}
|
||||
{{- $options = dict "icon" (dict "class" "fab fa-tumblr fa-fw") | merge $options -}}
|
||||
{{- partial "plugin/link.html" $options -}}
|
||||
{{- end -}}
|
||||
|
||||
{{- /* 012: Tumblr */ -}}
|
||||
{{- with .Site.Params.Social.Tumblr -}}
|
||||
{{- $options := dict "href" (printf "https://%s.tumblr.com" .) "title" "Tumblr" "rel" "me" -}}
|
||||
{{- $options = dict "icon" (dict "class" "fab fa-tumblr fa-fw") | merge $options -}}
|
||||
{{- partial "plugin/link.html" $options -}}
|
||||
{{- end -}}
|
||||
{{- /* 013: Quora */ -}}
|
||||
{{- with .social.Quora -}}
|
||||
{{- $options := dict "href" (printf "https://www.quora.com/profile/%s" .) "title" "Quora" "rel" "me" -}}
|
||||
{{- $options = dict "icon" (dict "class" "fab fa-quora fa-fw") | merge $options -}}
|
||||
{{- partial "plugin/link.html" $options -}}
|
||||
{{- end -}}
|
||||
|
||||
{{- /* 013: Quora */ -}}
|
||||
{{- with .Site.Params.Social.Quora -}}
|
||||
{{- $options := dict "href" (printf "https://www.quora.com/profile/%s" .) "title" "Quora" "rel" "me" -}}
|
||||
{{- $options = dict "icon" (dict "class" "fab fa-quora fa-fw") | merge $options -}}
|
||||
{{- partial "plugin/link.html" $options -}}
|
||||
{{- end -}}
|
||||
{{- /* 014: Keybase */ -}}
|
||||
{{- with .social.Keybase -}}
|
||||
{{- $options := dict "href" (printf "https://keybase.io/%s" .) "title" "Keybase" "rel" "me" -}}
|
||||
{{- $options = dict "icon" (dict "class" "fab fa-keybase fa-fw") | merge $options -}}
|
||||
{{- partial "plugin/link.html" $options -}}
|
||||
{{- end -}}
|
||||
|
||||
{{- /* 014: Keybase */ -}}
|
||||
{{- with .Site.Params.Social.Keybase -}}
|
||||
{{- $options := dict "href" (printf "https://keybase.io/%s" .) "title" "Keybase" "rel" "me" -}}
|
||||
{{- $options = dict "icon" (dict "class" "fab fa-keybase fa-fw") | merge $options -}}
|
||||
{{- partial "plugin/link.html" $options -}}
|
||||
{{- end -}}
|
||||
{{- /* 015: Pinterest */ -}}
|
||||
{{- with .social.Pinterest -}}
|
||||
{{- $options := dict "href" (printf "https://www.pinterest.com/%s" .) "title" "Pinterest" "rel" "me" -}}
|
||||
{{- $options = dict "icon" (dict "class" "fab fa-pinterest fa-fw") | merge $options -}}
|
||||
{{- partial "plugin/link.html" $options -}}
|
||||
{{- end -}}
|
||||
|
||||
{{- /* 015: Pinterest */ -}}
|
||||
{{- with .Site.Params.Social.Pinterest -}}
|
||||
{{- $options := dict "href" (printf "https://www.pinterest.com/%s" .) "title" "Pinterest" "rel" "me" -}}
|
||||
{{- $options = dict "icon" (dict "class" "fab fa-pinterest fa-fw") | merge $options -}}
|
||||
{{- partial "plugin/link.html" $options -}}
|
||||
{{- end -}}
|
||||
{{- /* 016: Reddit */ -}}
|
||||
{{- with .social.Reddit -}}
|
||||
{{- $options := dict "href" (printf "https://www.reddit.com/user/%s" .) "title" "Reddit" "rel" "me" -}}
|
||||
{{- $options = dict "icon" (dict "class" "fab fa-reddit fa-fw") | merge $options -}}
|
||||
{{- partial "plugin/link.html" $options -}}
|
||||
{{- end -}}
|
||||
|
||||
{{- /* 016: Reddit */ -}}
|
||||
{{- with .Site.Params.Social.Reddit -}}
|
||||
{{- $options := dict "href" (printf "https://www.reddit.com/user/%s" .) "title" "Reddit" "rel" "me" -}}
|
||||
{{- $options = dict "icon" (dict "class" "fab fa-reddit fa-fw") | merge $options -}}
|
||||
{{- partial "plugin/link.html" $options -}}
|
||||
{{- end -}}
|
||||
{{- /* 017: CodePen */ -}}
|
||||
{{- with .social.Codepen -}}
|
||||
{{- $options := dict "href" (printf "https://codepen.io/%s" .) "title" "CodePen" "rel" "me" -}}
|
||||
{{- $options = dict "icon" (dict "class" "fab fa-codepen fa-fw") | merge $options -}}
|
||||
{{- partial "plugin/link.html" $options -}}
|
||||
{{- end -}}
|
||||
|
||||
{{- /* 017: CodePen */ -}}
|
||||
{{- with .Site.Params.Social.Codepen -}}
|
||||
{{- $options := dict "href" (printf "https://codepen.io/%s" .) "title" "CodePen" "rel" "me" -}}
|
||||
{{- $options = dict "icon" (dict "class" "fab fa-codepen fa-fw") | merge $options -}}
|
||||
{{- partial "plugin/link.html" $options -}}
|
||||
{{- end -}}
|
||||
{{- /* 018: freeCodeCamp */ -}}
|
||||
{{- with .social.FreeCodeCamp -}}
|
||||
{{- $options := dict "href" (printf "https://freecodecamp.org/%s" .) "title" "freeCodeCamp" "rel" "me" -}}
|
||||
{{- $options = dict "icon" (dict "class" "fab fa-free-code-camp fa-fw") | merge $options -}}
|
||||
{{- partial "plugin/link.html" $options -}}
|
||||
{{- end -}}
|
||||
|
||||
{{- /* 018: freeCodeCamp */ -}}
|
||||
{{- with .Site.Params.Social.FreeCodeCamp -}}
|
||||
{{- $options := dict "href" (printf "https://freecodecamp.org/%s" .) "title" "freeCodeCamp" "rel" "me" -}}
|
||||
{{- $options = dict "icon" (dict "class" "fab fa-free-code-camp fa-fw") | merge $options -}}
|
||||
{{- partial "plugin/link.html" $options -}}
|
||||
{{- end -}}
|
||||
{{- /* 019: Bitbucket */ -}}
|
||||
{{- with .social.Bitbucket -}}
|
||||
{{- $options := dict "href" (printf "https://bitbucket.org/%s" .) "title" "Bitbucket" "rel" "me" -}}
|
||||
{{- $options = dict "icon" (dict "class" "fab fa-bitbucket fa-fw") | merge $options -}}
|
||||
{{- partial "plugin/link.html" $options -}}
|
||||
{{- end -}}
|
||||
|
||||
{{- /* 019: Bitbucket */ -}}
|
||||
{{- with .Site.Params.Social.Bitbucket -}}
|
||||
{{- $options := dict "href" (printf "https://bitbucket.org/%s" .) "title" "Bitbucket" "rel" "me" -}}
|
||||
{{- $options = dict "icon" (dict "class" "fab fa-bitbucket fa-fw") | merge $options -}}
|
||||
{{- partial "plugin/link.html" $options -}}
|
||||
{{- end -}}
|
||||
{{- /* 020: Stack Overflow */ -}}
|
||||
{{- with .social.Stackoverflow -}}
|
||||
{{- $options := dict "href" (printf "https://stackoverflow.com/users/%s" .) "title" "Stack Overflow" "rel" "me" -}}
|
||||
{{- $options = dict "icon" (dict "class" "fab fa-stack-overflow fa-fw") | merge $options -}}
|
||||
{{- partial "plugin/link.html" $options -}}
|
||||
{{- end -}}
|
||||
|
||||
{{- /* 020: Stack Overflow */ -}}
|
||||
{{- with .Site.Params.Social.Stackoverflow -}}
|
||||
{{- $options := dict "href" (printf "https://stackoverflow.com/users/%s" .) "title" "Stack Overflow" "rel" "me" -}}
|
||||
{{- $options = dict "icon" (dict "class" "fab fa-stack-overflow fa-fw") | merge $options -}}
|
||||
{{- partial "plugin/link.html" $options -}}
|
||||
{{- end -}}
|
||||
{{- /* 021: 微博 */ -}}
|
||||
{{- with .social.Weibo -}}
|
||||
{{- $options := dict "href" (printf "https://weibo.com/%s" .) "title" "微博" "rel" "me" -}}
|
||||
{{- $options = dict "icon" (dict "class" "fab fa-weibo fa-fw") | merge $options -}}
|
||||
{{- partial "plugin/link.html" $options -}}
|
||||
{{- end -}}
|
||||
|
||||
{{- /* 021: 微博 */ -}}
|
||||
{{- with .Site.Params.Social.Weibo -}}
|
||||
{{- $options := dict "href" (printf "https://weibo.com/%s" .) "title" "微博" "rel" "me" -}}
|
||||
{{- $options = dict "icon" (dict "class" "fab fa-weibo fa-fw") | merge $options -}}
|
||||
{{- partial "plugin/link.html" $options -}}
|
||||
{{- end -}}
|
||||
{{- /* 022: OK.RU */ -}}
|
||||
{{- with .social.Odnoklassniki -}}
|
||||
{{- $options := dict "href" (printf "https://ok.ru/%s" .) "title" "OK.RU" "rel" "me" -}}
|
||||
{{- $options = dict "icon" (dict "class" "fab fa-odnoklassniki fa-fw") | merge $options -}}
|
||||
{{- partial "plugin/link.html" $options -}}
|
||||
{{- end -}}
|
||||
|
||||
{{- /* 022: OK.RU */ -}}
|
||||
{{- with .Site.Params.Social.Odnoklassniki -}}
|
||||
{{- $options := dict "href" (printf "https://ok.ru/%s" .) "title" "OK.RU" "rel" "me" -}}
|
||||
{{- $options = dict "icon" (dict "class" "fab fa-odnoklassniki fa-fw") | merge $options -}}
|
||||
{{- partial "plugin/link.html" $options -}}
|
||||
{{- end -}}
|
||||
{{- /* 023: VK */ -}}
|
||||
{{- with .social.VK -}}
|
||||
{{- $options := dict "href" (printf "https://vk.com/%s" .) "title" "VK" "rel" "me" -}}
|
||||
{{- $options = dict "icon" (dict "class" "fab fa-vk fa-fw") | merge $options -}}
|
||||
{{- partial "plugin/link.html" $options -}}
|
||||
{{- end -}}
|
||||
|
||||
{{- /* 023: VK */ -}}
|
||||
{{- with .Site.Params.Social.VK -}}
|
||||
{{- $options := dict "href" (printf "https://vk.com/%s" .) "title" "VK" "rel" "me" -}}
|
||||
{{- $options = dict "icon" (dict "class" "fab fa-vk fa-fw") | merge $options -}}
|
||||
{{- partial "plugin/link.html" $options -}}
|
||||
{{- end -}}
|
||||
{{- /* 024: Flickr */ -}}
|
||||
{{- with .social.Flickr -}}
|
||||
{{- $options := dict "href" (printf "https://www.flickr.com/photos/%s" .) "title" "Flickr" "rel" "me" -}}
|
||||
{{- $options = dict "icon" (dict "class" "fab fa-flickr fa-fw") | merge $options -}}
|
||||
{{- partial "plugin/link.html" $options -}}
|
||||
{{- end -}}
|
||||
|
||||
{{- /* 024: Flickr */ -}}
|
||||
{{- with .Site.Params.Social.Flickr -}}
|
||||
{{- $options := dict "href" (printf "https://www.flickr.com/photos/%s" .) "title" "Flickr" "rel" "me" -}}
|
||||
{{- $options = dict "icon" (dict "class" "fab fa-flickr fa-fw") | merge $options -}}
|
||||
{{- partial "plugin/link.html" $options -}}
|
||||
{{- end -}}
|
||||
{{- /* 025: Xing */ -}}
|
||||
{{- with .social.Xing -}}
|
||||
{{- $options := dict "href" (printf "https://www.xing.com/profile/%s" .) "title" "Xing" "rel" "me" -}}
|
||||
{{- $options = dict "icon" (dict "class" "fab fa-xing fa-fw") | merge $options -}}
|
||||
{{- partial "plugin/link.html" $options -}}
|
||||
{{- end -}}
|
||||
|
||||
{{- /* 025: Xing */ -}}
|
||||
{{- with .Site.Params.Social.Xing -}}
|
||||
{{- $options := dict "href" (printf "https://www.xing.com/profile/%s" .) "title" "Xing" "rel" "me" -}}
|
||||
{{- $options = dict "icon" (dict "class" "fab fa-xing fa-fw") | merge $options -}}
|
||||
{{- partial "plugin/link.html" $options -}}
|
||||
{{- end -}}
|
||||
{{- /* 026: Snapchat */ -}}
|
||||
{{- with .social.Snapchat -}}
|
||||
{{- $options := dict "href" (printf "https://www.snapchat.com/add/%s" .) "title" "Snapchat" "rel" "me" -}}
|
||||
{{- $options = dict "icon" (dict "class" "fab fa-snapchat fa-fw") | merge $options -}}
|
||||
{{- partial "plugin/link.html" $options -}}
|
||||
{{- end -}}
|
||||
|
||||
{{- /* 026: Snapchat */ -}}
|
||||
{{- with .Site.Params.Social.Snapchat -}}
|
||||
{{- $options := dict "href" (printf "https://www.snapchat.com/add/%s" .) "title" "Snapchat" "rel" "me" -}}
|
||||
{{- $options = dict "icon" (dict "class" "fab fa-snapchat fa-fw") | merge $options -}}
|
||||
{{- partial "plugin/link.html" $options -}}
|
||||
{{- end -}}
|
||||
{{- /* 027: SoundCloud */ -}}
|
||||
{{- with .social.Soundcloud -}}
|
||||
{{- $options := dict "href" (printf "https://soundcloud.com/%s" .) "title" "SoundCloud" "rel" "me" -}}
|
||||
{{- $options = dict "icon" (dict "class" "fab fa-soundcloud fa-fw") | merge $options -}}
|
||||
{{- partial "plugin/link.html" $options -}}
|
||||
{{- end -}}
|
||||
|
||||
{{- /* 027: SoundCloud */ -}}
|
||||
{{- with .Site.Params.Social.Soundcloud -}}
|
||||
{{- $options := dict "href" (printf "https://soundcloud.com/%s" .) "title" "SoundCloud" "rel" "me" -}}
|
||||
{{- $options = dict "icon" (dict "class" "fab fa-soundcloud fa-fw") | merge $options -}}
|
||||
{{- partial "plugin/link.html" $options -}}
|
||||
{{- end -}}
|
||||
{{- /* 028: Spotify */ -}}
|
||||
{{- with .social.Spotify -}}
|
||||
{{- $options := dict "href" (printf "https://open.spotify.com/user/%s" .) "title" "Spotify" "rel" "me" -}}
|
||||
{{- $options = dict "icon" (dict "class" "fab fa-spotify fa-fw") | merge $options -}}
|
||||
{{- partial "plugin/link.html" $options -}}
|
||||
{{- end -}}
|
||||
|
||||
{{- /* 028: Spotify */ -}}
|
||||
{{- with .Site.Params.Social.Spotify -}}
|
||||
{{- $options := dict "href" (printf "https://open.spotify.com/user/%s" .) "title" "Spotify" "rel" "me" -}}
|
||||
{{- $options = dict "icon" (dict "class" "fab fa-spotify fa-fw") | merge $options -}}
|
||||
{{- partial "plugin/link.html" $options -}}
|
||||
{{- end -}}
|
||||
{{- /* 029: Bandcamp */ -}}
|
||||
{{- with .social.Bandcamp -}}
|
||||
{{- $options := dict "href" (printf "https://%s.bandcamp.com/" .) "title" "Bandcamp" "rel" "me" -}}
|
||||
{{- $options = dict "icon" (dict "class" "fab fa-bandcamp fa-fw") | merge $options -}}
|
||||
{{- partial "plugin/link.html" $options -}}
|
||||
{{- end -}}
|
||||
|
||||
{{- /* 029: Bandcamp */ -}}
|
||||
{{- with .Site.Params.Social.Bandcamp -}}
|
||||
{{- $options := dict "href" (printf "https://%s.bandcamp.com/" .) "title" "Bandcamp" "rel" "me" -}}
|
||||
{{- $options = dict "icon" (dict "class" "fab fa-bandcamp fa-fw") | merge $options -}}
|
||||
{{- partial "plugin/link.html" $options -}}
|
||||
{{- end -}}
|
||||
{{- /* 030: PayPal */ -}}
|
||||
{{- with .social.Paypal -}}
|
||||
{{- $options := dict "href" (printf "https://paypal.me/%s" .) "title" "PayPal" "rel" "me" -}}
|
||||
{{- $options = dict "icon" (dict "class" "fab fa-paypal fa-fw") | merge $options -}}
|
||||
{{- partial "plugin/link.html" $options -}}
|
||||
{{- end -}}
|
||||
|
||||
{{- /* 030: PayPal */ -}}
|
||||
{{- with .Site.Params.Social.Paypal -}}
|
||||
{{- $options := dict "href" (printf "https://paypal.me/%s" .) "title" "PayPal" "rel" "me" -}}
|
||||
{{- $options = dict "icon" (dict "class" "fab fa-paypal fa-fw") | merge $options -}}
|
||||
{{- partial "plugin/link.html" $options -}}
|
||||
{{- end -}}
|
||||
{{- /* 031: 500px */ -}}
|
||||
{{- with .social.Fivehundredpx -}}
|
||||
{{- $options := dict "href" (printf "https://500px.com/%s" .) "title" "500px" "rel" "me" -}}
|
||||
{{- $options = dict "icon" (dict "class" "fab fa-500px fa-fw") | merge $options -}}
|
||||
{{- partial "plugin/link.html" $options -}}
|
||||
{{- end -}}
|
||||
|
||||
{{- /* 031: 500px */ -}}
|
||||
{{- with .Site.Params.Social.Fivehundredpx -}}
|
||||
{{- $options := dict "href" (printf "https://500px.com/%s" .) "title" "500px" "rel" "me" -}}
|
||||
{{- $options = dict "icon" (dict "class" "fab fa-500px fa-fw") | merge $options -}}
|
||||
{{- partial "plugin/link.html" $options -}}
|
||||
{{- end -}}
|
||||
{{- /* 032: Mix */ -}}
|
||||
{{- with .social.Mix -}}
|
||||
{{- $options := dict "href" (printf "https://mix.com/%s" .) "title" "Mix" "rel" "me" -}}
|
||||
{{- $options = dict "icon" (dict "class" "fab fa-mix fa-fw") | merge $options -}}
|
||||
{{- partial "plugin/link.html" $options -}}
|
||||
{{- end -}}
|
||||
|
||||
{{- /* 032: Mix */ -}}
|
||||
{{- with .Site.Params.Social.Mix -}}
|
||||
{{- $options := dict "href" (printf "https://mix.com/%s" .) "title" "Mix" "rel" "me" -}}
|
||||
{{- $options = dict "icon" (dict "class" "fab fa-mix fa-fw") | merge $options -}}
|
||||
{{- partial "plugin/link.html" $options -}}
|
||||
{{- end -}}
|
||||
{{- /* 033: Goodreads */ -}}
|
||||
{{- with .social.Goodreads -}}
|
||||
{{- $options := dict "href" (printf "https://www.goodreads.com/user/show/%s" .) "title" "Goodreads" "rel" "me" -}}
|
||||
{{- $options = dict "icon" (dict "class" "fab fa-goodreads fa-fw") | merge $options -}}
|
||||
{{- partial "plugin/link.html" $options -}}
|
||||
{{- end -}}
|
||||
|
||||
{{- /* 033: Goodreads */ -}}
|
||||
{{- with .Site.Params.Social.Goodreads -}}
|
||||
{{- $options := dict "href" (printf "https://www.goodreads.com/user/show/%s" .) "title" "Goodreads" "rel" "me" -}}
|
||||
{{- $options = dict "icon" (dict "class" "fab fa-goodreads fa-fw") | merge $options -}}
|
||||
{{- partial "plugin/link.html" $options -}}
|
||||
{{- end -}}
|
||||
{{- /* 034: Last.fm */ -}}
|
||||
{{- with .social.Lastfm -}}
|
||||
{{- $options := dict "href" (printf "https://www.last.fm/user/%s" .) "title" "Last.fm" "rel" "me" -}}
|
||||
{{- $options = dict "icon" (dict "class" "fab fa-lastfm fa-fw") | merge $options -}}
|
||||
{{- partial "plugin/link.html" $options -}}
|
||||
{{- end -}}
|
||||
|
||||
{{- /* 034: Last.fm */ -}}
|
||||
{{- with .Site.Params.Social.Lastfm -}}
|
||||
{{- $options := dict "href" (printf "https://www.last.fm/user/%s" .) "title" "Last.fm" "rel" "me" -}}
|
||||
{{- $options = dict "icon" (dict "class" "fab fa-lastfm fa-fw") | merge $options -}}
|
||||
{{- partial "plugin/link.html" $options -}}
|
||||
{{- end -}}
|
||||
{{- /* 035: Foursquare */ -}}
|
||||
{{- with .social.Foursquare -}}
|
||||
{{- $options := dict "href" (printf "https://foursquare.com/%s" .) "title" "Foursquare" "rel" "me" -}}
|
||||
{{- $options = dict "icon" (dict "class" "fab fa-foursquare fa-fw") | merge $options -}}
|
||||
{{- partial "plugin/link.html" $options -}}
|
||||
{{- end -}}
|
||||
|
||||
{{- /* 035: Foursquare */ -}}
|
||||
{{- with .Site.Params.Social.Foursquare -}}
|
||||
{{- $options := dict "href" (printf "https://foursquare.com/%s" .) "title" "Foursquare" "rel" "me" -}}
|
||||
{{- $options = dict "icon" (dict "class" "fab fa-foursquare fa-fw") | merge $options -}}
|
||||
{{- partial "plugin/link.html" $options -}}
|
||||
{{- end -}}
|
||||
{{- /* 036: Hacker News */ -}}
|
||||
{{- with .social.Hackernews -}}
|
||||
{{- $options := dict "href" (printf "https://news.ycombinator.com/user?id=%s" .) "title" "Hacker News" "rel" "me" -}}
|
||||
{{- $options = dict "icon" (dict "class" "fab fa-hacker-news fa-fw") | merge $options -}}
|
||||
{{- partial "plugin/link.html" $options -}}
|
||||
{{- end -}}
|
||||
|
||||
{{- /* 036: Hacker News */ -}}
|
||||
{{- with .Site.Params.Social.Hackernews -}}
|
||||
{{- $options := dict "href" (printf "https://news.ycombinator.com/user?id=%s" .) "title" "Hacker News" "rel" "me" -}}
|
||||
{{- $options = dict "icon" (dict "class" "fab fa-hacker-news fa-fw") | merge $options -}}
|
||||
{{- partial "plugin/link.html" $options -}}
|
||||
{{- end -}}
|
||||
{{- /* 037: Kickstarter */ -}}
|
||||
{{- with .social.Kickstarter -}}
|
||||
{{- $options := dict "href" (printf "https://kickstarter.com/profile/%s" .) "title" "Kickstarter" "rel" "me" -}}
|
||||
{{- $options = dict "icon" (dict "class" "fab fa-kickstarter fa-fw") | merge $options -}}
|
||||
{{- partial "plugin/link.html" $options -}}
|
||||
{{- end -}}
|
||||
|
||||
{{- /* 037: Kickstarter */ -}}
|
||||
{{- with .Site.Params.Social.Kickstarter -}}
|
||||
{{- $options := dict "href" (printf "https://kickstarter.com/profile/%s" .) "title" "Kickstarter" "rel" "me" -}}
|
||||
{{- $options = dict "icon" (dict "class" "fab fa-kickstarter fa-fw") | merge $options -}}
|
||||
{{- partial "plugin/link.html" $options -}}
|
||||
{{- end -}}
|
||||
{{- /* 038: Patreon */ -}}
|
||||
{{- with .social.Patreon -}}
|
||||
{{- $options := dict "href" (printf "https://patreon.com/%s" .) "title" "Patreon" "rel" "me" -}}
|
||||
{{- $options = dict "icon" (dict "class" "fab fa-patreon fa-fw") | merge $options -}}
|
||||
{{- partial "plugin/link.html" $options -}}
|
||||
{{- end -}}
|
||||
|
||||
{{- /* 038: Patreon */ -}}
|
||||
{{- with .Site.Params.Social.Patreon -}}
|
||||
{{- $options := dict "href" (printf "https://patreon.com/%s" .) "title" "Patreon" "rel" "me" -}}
|
||||
{{- $options = dict "icon" (dict "class" "fab fa-patreon fa-fw") | merge $options -}}
|
||||
{{- partial "plugin/link.html" $options -}}
|
||||
{{- end -}}
|
||||
{{- /* 039: Steam */ -}}
|
||||
{{- with .social.Steam -}}
|
||||
{{- $options := dict "href" (printf "https://steamcommunity.com/id/%s" .) "title" "Steam" "rel" "me" -}}
|
||||
{{- $options = dict "icon" (dict "class" "fab fa-steam fa-fw") | merge $options -}}
|
||||
{{- partial "plugin/link.html" $options -}}
|
||||
{{- end -}}
|
||||
|
||||
{{- /* 039: Steam */ -}}
|
||||
{{- with .Site.Params.Social.Steam -}}
|
||||
{{- $options := dict "href" (printf "https://steamcommunity.com/id/%s" .) "title" "Steam" "rel" "me" -}}
|
||||
{{- $options = dict "icon" (dict "class" "fab fa-steam fa-fw") | merge $options -}}
|
||||
{{- partial "plugin/link.html" $options -}}
|
||||
{{- end -}}
|
||||
{{- /* 040: Twitch */ -}}
|
||||
{{- with .social.Twitch -}}
|
||||
{{- $options := dict "href" (printf "https://www.twitch.tv/%s" .) "title" "Twitch" "rel" "me" -}}
|
||||
{{- $options = dict "icon" (dict "class" "fab fa-twitch fa-fw") | merge $options -}}
|
||||
{{- partial "plugin/link.html" $options -}}
|
||||
{{- end -}}
|
||||
|
||||
{{- /* 040: Twitch */ -}}
|
||||
{{- with .Site.Params.Social.Twitch -}}
|
||||
{{- $options := dict "href" (printf "https://www.twitch.tv/%s" .) "title" "Twitch" "rel" "me" -}}
|
||||
{{- $options = dict "icon" (dict "class" "fab fa-twitch fa-fw") | merge $options -}}
|
||||
{{- partial "plugin/link.html" $options -}}
|
||||
{{- end -}}
|
||||
{{- /* 041: Strava */ -}}
|
||||
{{- with .social.Strava -}}
|
||||
{{- $options := dict "href" (printf "https://www.strava.com/athletes/%s" .) "title" "Strava" "rel" "me" -}}
|
||||
{{- $options = dict "icon" (dict "class" "fab fa-strava fa-fw") | merge $options -}}
|
||||
{{- partial "plugin/link.html" $options -}}
|
||||
{{- end -}}
|
||||
|
||||
{{- /* 041: Strava */ -}}
|
||||
{{- with .Site.Params.Social.Strava -}}
|
||||
{{- $options := dict "href" (printf "https://www.strava.com/athletes/%s" .) "title" "Strava" "rel" "me" -}}
|
||||
{{- $options = dict "icon" (dict "class" "fab fa-strava fa-fw") | merge $options -}}
|
||||
{{- partial "plugin/link.html" $options -}}
|
||||
{{- end -}}
|
||||
{{- /* 042: Skype */ -}}
|
||||
{{- with .social.Skype -}}
|
||||
{{- $options := dict "href" (printf "skype:%s" .) "title" "Skype" "rel" "me" -}}
|
||||
{{- $options = dict "icon" (dict "class" "fab fa-skype fa-fw") | merge $options -}}
|
||||
{{- partial "plugin/link.html" $options -}}
|
||||
{{- end -}}
|
||||
|
||||
{{- /* 042: Skype */ -}}
|
||||
{{- with .Site.Params.Social.Skype -}}
|
||||
{{- $options := dict "href" (printf "skype:%s" .) "title" "Skype" "rel" "me" -}}
|
||||
{{- $options = dict "icon" (dict "class" "fab fa-skype fa-fw") | merge $options -}}
|
||||
{{- partial "plugin/link.html" $options -}}
|
||||
{{- end -}}
|
||||
{{- /* 043: WhatsApp */ -}}
|
||||
{{- with .social.Whatsapp -}}
|
||||
{{- $options := dict "href" (printf "https://wa.me/%s" .) "title" "WhatsApp" "rel" "me" -}}
|
||||
{{- $options = dict "icon" (dict "class" "fab fa-whatsapp fa-fw") | merge $options -}}
|
||||
{{- partial "plugin/link.html" $options -}}
|
||||
{{- end -}}
|
||||
|
||||
{{- /* 043: WhatsApp */ -}}
|
||||
{{- with .Site.Params.Social.Whatsapp -}}
|
||||
{{- $options := dict "href" (printf "https://wa.me/%s" .) "title" "WhatsApp" "rel" "me" -}}
|
||||
{{- $options = dict "icon" (dict "class" "fab fa-whatsapp fa-fw") | merge $options -}}
|
||||
{{- partial "plugin/link.html" $options -}}
|
||||
{{- end -}}
|
||||
{{- /* 044: 知乎 */ -}}
|
||||
{{- with .social.Zhihu -}}
|
||||
{{- $options := dict "href" (printf "https://www.zhihu.com/people/%s" .) "title" "知乎" "rel" "me" -}}
|
||||
{{- $options = dict "icon" (dict "class" "loveit it-zhihu-line" "type" "other" "scratch" $.scratch) | merge $options -}}
|
||||
{{- partial "plugin/link.html" $options -}}
|
||||
{{- end -}}
|
||||
|
||||
{{- /* 044: 知乎 */ -}}
|
||||
{{- with .Site.Params.Social.Zhihu -}}
|
||||
{{- $options := dict "href" (printf "https://www.zhihu.com/people/%s" .) "title" "知乎" "rel" "me" -}}
|
||||
{{- $options = dict "icon" (dict "class" "loveit it-zhihu-line" "type" "other" "scratch" $scratch) | merge $options -}}
|
||||
{{- partial "plugin/link.html" $options -}}
|
||||
{{- end -}}
|
||||
{{- /* 045: Angellist */ -}}
|
||||
{{- with .social.Angellist -}}
|
||||
{{- $options := dict "href" (printf "https://angel.co/%s" .) "title" "Angellist" "rel" "me" -}}
|
||||
{{- $options = dict "icon" (dict "class" "fab fa-angellist fa-fw") | merge $options -}}
|
||||
{{- partial "plugin/link.html" $options -}}
|
||||
{{- end -}}
|
||||
|
||||
{{- /* 045: Angellist */ -}}
|
||||
{{- with .Site.Params.Social.Angellist -}}
|
||||
{{- $options := dict "href" (printf "https://angel.co/%s" .) "title" "Angellist" "rel" "me" -}}
|
||||
{{- $options = dict "icon" (dict "class" "fab fa-angellist fa-fw") | merge $options -}}
|
||||
{{- partial "plugin/link.html" $options -}}
|
||||
{{- end -}}
|
||||
{{- /* 046: SlideShare */ -}}
|
||||
{{- with .social.Slideshare -}}
|
||||
{{- $options := dict "href" (printf "https://slideshare.com/%s" .) "title" "SlideShare" "rel" "me" -}}
|
||||
{{- $options = dict "icon" (dict "class" "fab fa-slideshare fa-fw") | merge $options -}}
|
||||
{{- partial "plugin/link.html" $options -}}
|
||||
{{- end -}}
|
||||
|
||||
{{- /* 046: SlideShare */ -}}
|
||||
{{- with .Site.Params.Social.Slideshare -}}
|
||||
{{- $options := dict "href" (printf "https://slideshare.com/%s" .) "title" "SlideShare" "rel" "me" -}}
|
||||
{{- $options = dict "icon" (dict "class" "fab fa-slideshare fa-fw") | merge $options -}}
|
||||
{{- partial "plugin/link.html" $options -}}
|
||||
{{- end -}}
|
||||
{{- /* 047: JSFiddle */ -}}
|
||||
{{- with .social.Jsfiddle -}}
|
||||
{{- $options := dict "href" (printf "https://jsfiddle.com/%s" .) "title" "JSFiddle" "rel" "me" -}}
|
||||
{{- $options = dict "icon" (dict "class" "fab fa-jsfiddle fa-fw") | merge $options -}}
|
||||
{{- partial "plugin/link.html" $options -}}
|
||||
{{- end -}}
|
||||
|
||||
{{- /* 047: JSFiddle */ -}}
|
||||
{{- with .Site.Params.Social.Jsfiddle -}}
|
||||
{{- $options := dict "href" (printf "https://jsfiddle.com/%s" .) "title" "JSFiddle" "rel" "me" -}}
|
||||
{{- $options = dict "icon" (dict "class" "fab fa-jsfiddle fa-fw") | merge $options -}}
|
||||
{{- partial "plugin/link.html" $options -}}
|
||||
{{- end -}}
|
||||
{{- /* 048: DeviantArt */ -}}
|
||||
{{- with .social.Deviantart -}}
|
||||
{{- $options := dict "href" (printf "https://%s.deviantart.com/" .) "title" "DeviantArt" "rel" "me" -}}
|
||||
{{- $options = dict "icon" (dict "class" "fab fa-deviantart fa-fw") | merge $options -}}
|
||||
{{- partial "plugin/link.html" $options -}}
|
||||
{{- end -}}
|
||||
|
||||
{{- /* 048: DeviantArt */ -}}
|
||||
{{- with .Site.Params.Social.Deviantart -}}
|
||||
{{- $options := dict "href" (printf "https://%s.deviantart.com/" .) "title" "DeviantArt" "rel" "me" -}}
|
||||
{{- $options = dict "icon" (dict "class" "fab fa-deviantart fa-fw") | merge $options -}}
|
||||
{{- partial "plugin/link.html" $options -}}
|
||||
{{- end -}}
|
||||
{{- /* 049: Behance */ -}}
|
||||
{{- with .social.Behance -}}
|
||||
{{- $options := dict "href" (printf "https://behance.net/%s" .) "title" "Behance" "rel" "me" -}}
|
||||
{{- $options = dict "icon" (dict "class" "fab fa-behance fa-fw") | merge $options -}}
|
||||
{{- partial "plugin/link.html" $options -}}
|
||||
{{- end -}}
|
||||
|
||||
{{- /* 049: Behance */ -}}
|
||||
{{- with .Site.Params.Social.Behance -}}
|
||||
{{- $options := dict "href" (printf "https://behance.net/%s" .) "title" "Behance" "rel" "me" -}}
|
||||
{{- $options = dict "icon" (dict "class" "fab fa-behance fa-fw") | merge $options -}}
|
||||
{{- partial "plugin/link.html" $options -}}
|
||||
{{- end -}}
|
||||
{{- /* 050: Dribbble */ -}}
|
||||
{{- with .social.Dribble -}}
|
||||
{{- $options := dict "href" (printf "https://dribbble.com/%s" .) "title" "Dribbble" "rel" "me" -}}
|
||||
{{- $options = dict "icon" (dict "class" "fab fa-dribbble fa-fw") | merge $options -}}
|
||||
{{- partial "plugin/link.html" $options -}}
|
||||
{{- end -}}
|
||||
|
||||
{{- /* 050: Dribbble */ -}}
|
||||
{{- with .Site.Params.Social.Dribble -}}
|
||||
{{- $options := dict "href" (printf "https://dribbble.com/%s" .) "title" "Dribbble" "rel" "me" -}}
|
||||
{{- $options = dict "icon" (dict "class" "fab fa-dribbble fa-fw") | merge $options -}}
|
||||
{{- partial "plugin/link.html" $options -}}
|
||||
{{- end -}}
|
||||
{{- /* 051: WordPress */ -}}
|
||||
{{- with .social.Wordpress -}}
|
||||
{{- $options := dict "href" (printf "https://%s.wordpress.com/" .) "title" "WordPress" "rel" "me" -}}
|
||||
{{- $options = dict "icon" (dict "class" "fab fa-wordpress fa-fw") | merge $options -}}
|
||||
{{- partial "plugin/link.html" $options -}}
|
||||
{{- end -}}
|
||||
|
||||
{{- /* 051: WordPress */ -}}
|
||||
{{- with .Site.Params.Social.Wordpress -}}
|
||||
{{- $options := dict "href" (printf "https://%s.wordpress.com/" .) "title" "WordPress" "rel" "me" -}}
|
||||
{{- $options = dict "icon" (dict "class" "fab fa-wordpress fa-fw") | merge $options -}}
|
||||
{{- partial "plugin/link.html" $options -}}
|
||||
{{- end -}}
|
||||
{{- /* 052: Vine */ -}}
|
||||
{{- with .social.Vine -}}
|
||||
{{- $options := dict "href" (printf "https://vine.co/%s" .) "title" "Vine" "rel" "me" -}}
|
||||
{{- $options = dict "icon" (dict "class" "fab fa-vine fa-fw") | merge $options -}}
|
||||
{{- partial "plugin/link.html" $options -}}
|
||||
{{- end -}}
|
||||
|
||||
{{- /* 052: Vine */ -}}
|
||||
{{- with .Site.Params.Social.Vine -}}
|
||||
{{- $options := dict "href" (printf "https://vine.co/%s" .) "title" "Vine" "rel" "me" -}}
|
||||
{{- $options = dict "icon" (dict "class" "fab fa-vine fa-fw") | merge $options -}}
|
||||
{{- partial "plugin/link.html" $options -}}
|
||||
{{- end -}}
|
||||
{{- /* 053: Google Scholar */ -}}
|
||||
{{- with .social.Googlescholar -}}
|
||||
{{- $options := dict "href" (printf "https://scholar.google.com/citations?%s" .) "title" "Google Scholar" "rel" "me" -}}
|
||||
{{- $options = dict "icon" (dict "class" "fab fa-google fa-fw") | merge $options -}}
|
||||
{{- partial "plugin/link.html" $options -}}
|
||||
{{- end -}}
|
||||
|
||||
{{- /* 053: Google Scholar */ -}}
|
||||
{{- with .Site.Params.Social.Googlescholar -}}
|
||||
{{- $options := dict "href" (printf "https://scholar.google.com/citations?%s" .) "title" "Google Scholar" "rel" "me" -}}
|
||||
{{- $options = dict "icon" (dict "class" "fab fa-google fa-fw") | merge $options -}}
|
||||
{{- partial "plugin/link.html" $options -}}
|
||||
{{- end -}}
|
||||
{{- /* 054: ResearchGate */ -}}
|
||||
{{- with .social.Researchgate -}}
|
||||
{{- $options := dict "href" (printf "https://www.researchgate.net/profile/%s" .) "title" "ResearchGate" "rel" "me" -}}
|
||||
{{- $options = dict "icon" (dict "class" "fab fa-researchgate fa-fw") | merge $options -}}
|
||||
{{- partial "plugin/link.html" $options -}}
|
||||
{{- end -}}
|
||||
|
||||
{{- /* 054: ResearchGate */ -}}
|
||||
{{- with .Site.Params.Social.Researchgate -}}
|
||||
{{- $options := dict "href" (printf "https://www.researchgate.net/profile/%s" .) "title" "ResearchGate" "rel" "me" -}}
|
||||
{{- $options = dict "icon" (dict "class" "fab fa-researchgate fa-fw") | merge $options -}}
|
||||
{{- partial "plugin/link.html" $options -}}
|
||||
{{- end -}}
|
||||
{{- /* 055: Mastodon */ -}}
|
||||
{{- with .social.Mastodon -}}
|
||||
{{- $MastodonPrefix := $.social.MastodonPrefix | default "https://mastodon.social" -}}
|
||||
{{- $options := dict "href" (printf "%s/%s" $MastodonPrefix .) "title" "Mastodon" "rel" "me" -}}
|
||||
{{- $options = dict "icon" (dict "class" "fab fa-mastodon fa-fw") | merge $options -}}
|
||||
{{- partial "plugin/link.html" $options -}}
|
||||
{{- end -}}
|
||||
|
||||
{{- /* 055: Mastodon */ -}}
|
||||
{{- with .Site.Params.Social.Mastodon -}}
|
||||
{{- $MastodonPrefix := $.Site.Params.Social.MastodonPrefix | default "https://mastodon.social" -}}
|
||||
{{- $options := dict "href" (printf "%s/%s" $MastodonPrefix .) "title" "Mastodon" "rel" "me" -}}
|
||||
{{- $options = dict "icon" (dict "class" "fab fa-mastodon fa-fw") | merge $options -}}
|
||||
{{- partial "plugin/link.html" $options -}}
|
||||
{{- end -}}
|
||||
{{- /* 056: Dev.To */ -}}
|
||||
{{- with .social.Devto -}}
|
||||
{{- $options := dict "href" (printf "https://dev.to/%s" .) "title" "Dev.To" "rel" "me" -}}
|
||||
{{- $options = dict "icon" (dict "class" "fab fa-dev fa-fw") | merge $options -}}
|
||||
{{- partial "plugin/link.html" $options -}}
|
||||
{{- end -}}
|
||||
|
||||
{{- /* 054: Dev.To */ -}}
|
||||
{{- with .Site.Params.Social.Devto -}}
|
||||
{{- $options := dict "href" (printf "https://dev.to/%s" .) "title" "Dev.To" "rel" "me" -}}
|
||||
{{- $options = dict "icon" (dict "class" "fab fa-dev fa-fw") | merge $options -}}
|
||||
{{- partial "plugin/link.html" $options -}}
|
||||
{{- end -}}
|
||||
{{- /* 057: Gitea */ -}}
|
||||
{{- with .social.Gitea -}}
|
||||
{{- $options := dict "href" . "title" "Gitea" "rel" "me" -}}
|
||||
{{- $options = dict "icon" (dict "class" "fa fa-gitea fa-fw" "type" "fo" "scratch" $.scratch) | merge $options -}}
|
||||
{{- partial "plugin/link.html" $options -}}
|
||||
{{- end -}}
|
||||
|
||||
{{- /* 055: Gitea */ -}}
|
||||
{{- with .Site.Params.Social.Gitea -}}
|
||||
{{- $options := dict "href" . "title" "Gitea" "rel" "me" -}}
|
||||
{{- $options = dict "icon" (dict "class" "fa fa-gitea fa-fw" "type" "fo" "scratch" $scratch) | merge $options -}}
|
||||
{{- partial "plugin/link.html" $options -}}
|
||||
{{- end -}}
|
||||
{{- /* 058: XMPP */ -}}
|
||||
{{- with .social.XMPP -}}
|
||||
{{- $options := dict "href" (printf "xmpp:%s" .) "title" "XMPP" "rel" "me" -}}
|
||||
{{- $options = dict "icon" (dict "class" "fa fa-xmpp fa-fw" "type" "fo" "scratch" $.scratch) | merge $options -}}
|
||||
{{- partial "plugin/link.html" $options -}}
|
||||
{{- end -}}
|
||||
|
||||
{{- /* 056: XMPP */ -}}
|
||||
{{- with .Site.Params.Social.XMPP -}}
|
||||
{{- $options := dict "href" (printf "xmpp:%s" .) "title" "XMPP" "rel" "me" -}}
|
||||
{{- $options = dict "icon" (dict "class" "fa fa-xmpp fa-fw" "type" "fo" "scratch" $scratch) | merge $options -}}
|
||||
{{- partial "plugin/link.html" $options -}}
|
||||
{{- end -}}
|
||||
{{- /* 059: Matrix */ -}}
|
||||
{{- with .social.Matrix -}}
|
||||
{{- $options := dict "href" (printf "https://matrix.to/#/%s" .) "title" "Matrix" "rel" "me" -}}
|
||||
{{- $options = dict "icon" (dict "class" "fa fa-matrix-org fa-fw" "type" "fo" "scratch" $.scratch) | merge $options -}}
|
||||
{{- partial "plugin/link.html" $options -}}
|
||||
{{- end -}}
|
||||
|
||||
{{- /* 057: Matrix */ -}}
|
||||
{{- with .Site.Params.Social.Matrix -}}
|
||||
{{- $options := dict "href" (printf "https://matrix.to/#/%s" .) "title" "Matrix" "rel" "me" -}}
|
||||
{{- $options = dict "icon" (dict "class" "fa fa-matrix-org fa-fw" "type" "fo" "scratch" $scratch) | merge $options -}}
|
||||
{{- partial "plugin/link.html" $options -}}
|
||||
{{- end -}}
|
||||
{{- /* 060: bilibili */ -}}
|
||||
{{- with .social.Bilibili -}}
|
||||
{{- $options := dict "href" (printf "https://space.bilibili.com/%s" .) "title" "bilibili" "rel" "me" -}}
|
||||
{{- $options = dict "icon" (dict "class" "loveit it-bilibili-fill" "type" "other" "scratch" $.scratch) | merge $options -}}
|
||||
{{- partial "plugin/link.html" $options -}}
|
||||
{{- end -}}
|
||||
|
||||
{{- /* 058: bilibili */ -}}
|
||||
{{- with .Site.Params.Social.Bilibili -}}
|
||||
{{- $options := dict "href" (printf "https://space.bilibili.com/%s" .) "title" "bilibili" "rel" "me" -}}
|
||||
{{- $options = dict "icon" (dict "class" "loveit it-bilibili-fill" "type" "other" "scratch" $scratch) | merge $options -}}
|
||||
{{- partial "plugin/link.html" $options -}}
|
||||
{{- end -}}
|
||||
{{- /* 061: Email */ -}}
|
||||
{{- with .social.Email -}}
|
||||
{{- $options := dict "href" (printf "mailto:%s" .) "title" "Email" "rel" "me" -}}
|
||||
{{- $options = dict "icon" (dict "class" "far fa-envelope fa-fw") | merge $options -}}
|
||||
{{- partial "plugin/link.html" $options -}}
|
||||
{{- end -}}
|
||||
|
||||
{{- /* 059: Email */ -}}
|
||||
{{- with .Site.Params.Social.Email -}}
|
||||
{{- $options := dict "href" (printf "mailto:%s" .) "title" "Email" "rel" "me" -}}
|
||||
{{- $options = dict "icon" (dict "class" "far fa-envelope fa-fw") | merge $options -}}
|
||||
{{- partial "plugin/link.html" $options -}}
|
||||
{{- end -}}
|
||||
|
||||
{{- /* Custom */ -}}
|
||||
{{- with .Site.Params.Social.Custom -}}
|
||||
{{- . | safeHTML -}}
|
||||
{{- end -}}
|
||||
{{- /* Custom */ -}}
|
||||
{{- with .social.Custom -}}
|
||||
{{- . | safeHTML -}}
|
||||
{{- end -}}
|
||||
</div>
|
||||
|
|
File diff suppressed because one or more lines are too long
Loading…
Add table
Reference in a new issue