Skip to content

Commit

Permalink
added tiktok to available social media links (#444)
Browse files Browse the repository at this point in the history
  • Loading branch information
saufrecht authored Nov 16, 2021
1 parent 869b03e commit 3710f7e
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 1 deletion.
6 changes: 5 additions & 1 deletion assets/ananke/css/_social-icons.css
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.facebook, .twitter, .instagram, .youtube, .github, .gitlab, .keybase, .linkedin, .medium, .mastodon, .slack, .stackoverflow, .rss {
.facebook, .twitter, .instagram, .youtube, .github, .gitlab, .keybase, .linkedin, .medium, .mastodon, .slack, .stackoverflow, .rss, .tiktok {
fill: #BABABA;
}

Expand Down Expand Up @@ -62,3 +62,7 @@
.rss:hover{
fill: #ff6f1a;
}

.tiktok:hover{
fill: #FE2C55;
}
2 changes: 2 additions & 0 deletions exampleSite/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@ enableRobotsTXT = true
slack = ""
stackoverflow = ""
rss = ""
tiktok = ""

# choose a background color from any on this page: http://tachyons.io/docs/themes/skins/ and preface it with "bg-"
background_color_class = "bg-black"
featured_image = "/images/gohugo-default-sample-hero-image.jpg"
Expand Down
6 changes: 6 additions & 0 deletions layouts/partials/social-follow.html
Original file line number Diff line number Diff line change
Expand Up @@ -78,3 +78,9 @@
{{- partial "new-window-icon.html" . -}}
</a>
{{ end }}
{{ with .Param "tiktok" }}
<a href="{{ . }}" target="_blank" class="link-transition tiktok link dib z-999 pt3 pt0-l mr1" title="TikTok link" rel="noopener" aria-label="follow on TikTok——Opens in a new window">
{{ partial "svg/tiktok.svg" (dict "size" $icon_size) }}
{{- partial "new-window-icon.html" . -}}
</a>
{{ end }}
6 changes: 6 additions & 0 deletions layouts/partials/svg/tiktok.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 3710f7e

Please sign in to comment.