mirror of
https://github.com/Noettore/cocoa-eh-hugo-theme.git
synced 2025-10-14 19:26:40 +02:00
add instagram support and icon
This commit is contained in:

committed by
Michael Noronha

parent
89ce6d60ba
commit
a1ac436a3d
@@ -34,6 +34,7 @@ email = "you@example.com"
|
||||
linkedin = "john-example-aa80ue8è"
|
||||
twitter = "example"
|
||||
facebook = "facebook_id"
|
||||
instagram = "instagram_id"
|
||||
social_banner = "img/banner.png"
|
||||
usesmallsummarycard = true
|
||||
posts_navigation = true
|
||||
|
@@ -37,6 +37,12 @@
|
||||
</a>
|
||||
{{ end }}
|
||||
|
||||
{{ if .Site.Params.instagram }}
|
||||
<a href="https://www.instagram.com/{{ .Site.Params.linkedin }}" target="_blank">
|
||||
<img class="icon" src="{{ .Site.BaseURL }}img/instagram.svg" alt="instagram" />
|
||||
</a>
|
||||
{{ end }}
|
||||
|
||||
{{ if .Site.Params.facebook }}
|
||||
<a href="https://facebook.com/{{ .Site.Params.facebook }}" target="_blank">
|
||||
<img class="icon" src="{{ .Site.BaseURL }}img/facebook.svg" alt="facebook" />
|
||||
|
1
static/img/instagram.svg
Normal file
1
static/img/instagram.svg
Normal file
@@ -0,0 +1 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M336 96c21.2 0 41.3 8.4 56.5 23.5S416 154.8 416 176v160c0 21.2-8.4 41.3-23.5 56.5S357.2 416 336 416H176c-21.2 0-41.3-8.4-56.5-23.5S96 357.2 96 336V176c0-21.2 8.4-41.3 23.5-56.5S154.8 96 176 96h160m0-32H176c-61.6 0-112 50.4-112 112v160c0 61.6 50.4 112 112 112h160c61.6 0 112-50.4 112-112V176c0-61.6-50.4-112-112-112z"/><path d="M360 176c-13.3 0-24-10.7-24-24s10.7-24 24-24c13.2 0 24 10.7 24 24s-10.8 24-24 24zM256 192c35.3 0 64 28.7 64 64s-28.7 64-64 64-64-28.7-64-64 28.7-64 64-64m0-32c-53 0-96 43-96 96s43 96 96 96 96-43 96-96-43-96-96-96z"/></svg>
|
After Width: | Height: | Size: 620 B |
Reference in New Issue
Block a user