Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

added tiktok to available social media links #444

Merged
merged 1 commit into from
Nov 16, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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.