Skip to content

Commit

Permalink
feat: add ArtStation social network link and icon
Browse files Browse the repository at this point in the history
  • Loading branch information
AJ2O authored and razonyang committed Aug 29, 2022
1 parent e59bfb2 commit c02ea03
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
2 changes: 2 additions & 0 deletions assets/icons/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ import {
import { faStar } from '@fortawesome/free-regular-svg-icons';
import {
faAlipay,
faArtstation,
faBitbucket,
faCreativeCommons,
faCreativeCommonsBy,
Expand Down Expand Up @@ -155,6 +156,7 @@ let icons = [

// Brands
faAlipay,
faArtstation,
faBitbucket,
faCreativeCommons,
faCreativeCommonsBy,
Expand Down
1 change: 1 addition & 0 deletions exampleSite/config/_default/social.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ discord = "yourdiscordinvitecode"
discourse = "https://yourforum.tld"
facebookgroup = "yourfacebookgroupname"
tiktok = "yourtiktokusername"
artstation = "yourartstationusername"
pinterest = "yourpinterestusername"
mastodon = "yourmastodonusername"
liberapay = "yourliberapayaccount"
Expand Down
3 changes: 2 additions & 1 deletion layouts/partials/helpers/social-links.html
Original file line number Diff line number Diff line change
Expand Up @@ -24,14 +24,15 @@
{{- $lastfm := dict "lastfm" (dict "url" "https://www.last.fm/user/%s" "title" "Last.fm") }}
{{- $bilibili := dict "bilibili" (dict "url" "https://space.bilibili.com/%s" "title" "bilibili" "icon" "fab fa-bilibili") }}
{{- $tiktok := dict "tiktok" (dict "url" "https://www.tiktok.com/@%s" "title" "TikTok" "icon" "fab fa-tiktok") }}
{{- $artstation := dict "artstation" (dict "url" "https://www.artstation.com/%s" "icon" "fab fa-artstation") }}
{{- $pinterest := dict "pinterest" (dict "url" "https://www.pinterest.com/%s" "icon" "fab fa-pinterest") }}
{{- $mastodon := dict "mastodon" (dict "url" "https://mastodon.social/@%s" "icon" "fab fa-mastodon") }}
{{- $liberapay := dict "liberapay" (dict "url" "https://liberapay.com/%s" "icon" "fab fa-liberapay") }}
{{- $paypal := dict "paypal" (dict "url" "https://www.paypal.com/paypalme/%s" "icon" "fab fa-paypal") }}
{{- $patreon := dict "patreon" (dict "url" "https://www.patreon.com/%s" "icon" "fab fa-patreon") }}
{{- $tipeee := dict "tipeee" (dict "url" "https://fr.tipeee.com/%s" "icon" "fab fa-tipeee") }}
{{- $website := dict "website" (dict "url" "%s" "icon" "fas fa-link") }}
{{- $items = merge $items $tumblr $reddit $telegram $qq $dockerhub $bitbucket $kaggle $lastfm $bilibili $tiktok $pinterest $mastodon $liberapay $paypal $patreon $tipeee $website }}
{{- $items = merge $items $tumblr $reddit $telegram $qq $dockerhub $bitbucket $kaggle $lastfm $bilibili $tiktok $artstation $pinterest $mastodon $liberapay $paypal $patreon $tipeee $website }}
{{- $size := default "" .size }}
{{- $linkClass := default "" .linkClass }}
{{- $iconText := default false .iconText }}
Expand Down

0 comments on commit c02ea03

Please sign in to comment.