mirror of
https://github.com/Noettore/cocoa-eh-hugo-theme.git
synced 2025-10-14 11:16:41 +02:00
Untappd (#110)
* Change FB locale meta to be dynamic * Allow referrers * Added option to use untappd social media
This commit is contained in:

committed by
Michael Noronha

parent
5005ba9f31
commit
c5a067e22a
@@ -36,6 +36,7 @@ linkedin = "john-example-aa80ue8è"
|
||||
twitter = "example"
|
||||
facebook = "facebook_id"
|
||||
instagram = "instagram_id"
|
||||
untappd = "untappd_id"
|
||||
itch_io = "itch_io_id"
|
||||
social_banner = "img/banner.png"
|
||||
usesmallsummarycard = true
|
||||
|
@@ -79,6 +79,12 @@
|
||||
</a>
|
||||
{{ end }}
|
||||
|
||||
{{ if .Site.Params.untappd }}
|
||||
<a href="https://untappd.com/user/{{ .Site.Params.untappd}}" rel=me target="_blank">
|
||||
<img class="icon" src="{{ .Site.BaseURL }}img/untappd.svg" alt="untappd" />
|
||||
</a>
|
||||
{{ end }}
|
||||
|
||||
{{ if .Site.Params.email }}
|
||||
<a href="mailto:{{ .Site.Params.email }}">
|
||||
<img class="icon" src="{{ .Site.BaseURL }}img/email.svg" alt="email" />
|
||||
|
@@ -2,6 +2,7 @@
|
||||
<meta name="HandheldFriendly" content="True">
|
||||
<meta name="MobileOptimized" content="320">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
|
||||
{{ if .Site.Params.description }}<meta name="description" content="{{ .Site.Params.description }}">{{ end }}
|
||||
|
||||
{{ if .Site.Params.twitter }}
|
||||
|
1
static/img/untappd.svg
Normal file
1
static/img/untappd.svg
Normal file
@@ -0,0 +1 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 512"><path d="M401.3 49.9c-79.8 160.1-84.6 152.5-87.9 173.2l-5.2 32.8c-1.9 12-6.6 23.5-13.7 33.4L145.6 497.1c-7.6 10.6-20.4 16.2-33.4 14.6-40.3-5-77.8-32.2-95.3-68.5-5.7-11.8-4.5-25.8 3.1-36.4l148.9-207.9c7.1-9.9 16.4-18 27.2-23.7l29.3-15.5c18.5-9.8 9.7-11.9 135.6-138.9 1-4.8 1-7.3 3.6-8 3-.7 6.6-1 6.3-4.6l-.4-4.6c-.2-1.9 1.3-3.6 3.2-3.6 4.5-.1 13.2 1.2 25.6 10 12.3 8.9 16.4 16.8 17.7 21.1.6 1.8-.6 3.7-2.4 4.2l-4.5 1.1c-3.4.9-2.5 4.4-2.3 7.4.1 2.8-2.3 3.6-6.5 6.1zM230.1 36.4c3.4.9 2.5 4.4 2.3 7.4-.2 2.7 2.1 3.5 6.4 6 7.9 15.9 15.3 30.5 22.2 44 .7 1.3 2.3 1.5 3.3.5 11.2-12 24.6-26.2 40.5-42.6 1.3-1.4 1.4-3.5.1-4.9-8-8.2-16.5-16.9-25.6-26.1-1-4.7-1-7.3-3.6-8-3-.8-6.6-1-6.3-4.6.3-3.3 1.4-8.1-2.8-8.2-4.5-.1-13.2 1.1-25.6 10-12.3 8.9-16.4 16.8-17.7 21.1-1.4 4.2 3.6 4.6 6.8 5.4zM620 406.7L471.2 198.8c-13.2-18.5-26.6-23.4-56.4-39.1-11.2-5.9-14.2-10.9-30.5-28.9-1-1.1-2.9-.9-3.6.5-46.3 88.8-47.1 82.8-49 94.8-1.7 10.7-1.3 20 .3 29.8 1.9 12 6.6 23.5 13.7 33.4l148.9 207.9c7.6 10.6 20.2 16.2 33.1 14.7 40.3-4.9 78-32 95.7-68.6 5.4-11.9 4.3-25.9-3.4-36.6z"/></svg>
|
After Width: | Height: | Size: 1.1 KiB |
Reference in New Issue
Block a user