Skip to content

Commit

Permalink
Fixes Instagram icon (#385)
Browse files Browse the repository at this point in the history
Co-authored-by: Martin Splitt <[email protected]>
  • Loading branch information
AVGP and Martin Splitt authored Jul 5, 2022
1 parent 6866fe6 commit 68ae56c
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion layouts/guest/list.html
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ <h3><a href = "{{(printf "guest/%s/" .File.BaseFileName) | absURL }}">{{ .Title
{{ partial "social-link.html" (dict "context" . "aclass" "" "iclass" "fab fa-pinterest-square fa-2x" "prefix" "https://www.pinterest.com/" "text" "") }}
{{ end }}
{{ with .Params.Instagram }}
{{ partial "social-link.html" (dict "context" . "aclass" "" "iclass" "fab fa-instagram-square fa-2x" "prefix" "https://www.instagram.com/" "text" "") }}
{{ partial "social-link.html" (dict "context" . "aclass" "" "iclass" "fab fa-instagram fa-2x" "prefix" "https://www.instagram.com/" "text" "") }}
{{ end }}
{{ with .Params.YouTube }}
{{ partial "social-link.html" (dict "context" . "aclass" "" "iclass" "fab fa-youtube-square fa-2x" "prefix" "https://www.youtube.com/" "text" "") }}
Expand Down
2 changes: 1 addition & 1 deletion layouts/guest/single.html
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ <h1>{{ title .Title }} {{ with .Params.Pronouns }}({{ . }}){{ end }}</h1>
{{ partial "social-link.html" (dict "context" .Params.Pinterest "aclass" "" "iclass" "fab fa-pinterest-square fa-2x" "prefix" "https://www.pinterest.com/" "text" "") }}
{{ end }}
{{ if .Params.Instagram }}
{{ partial "social-link.html" (dict "context" .Params.Instagram "aclass" "" "iclass" "fab fa-instagram-square fa-2x" "prefix" "https://www.instagram.com/" "text" "") }}
{{ partial "social-link.html" (dict "context" .Params.Instagram "aclass" "" "iclass" "fab fa-instagram fa-2x" "prefix" "https://www.instagram.com/" "text" "") }}
{{ end }}
{{ if .Params.YouTube }}
{{ partial "social-link.html" (dict "context" .Params.YouTube "aclass" "" "iclass" "fab fa-youtube-square fa-2x" "prefix" "https://www.youtube.com/" "text" "") }}
Expand Down
2 changes: 1 addition & 1 deletion layouts/host/single.html
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ <h1>{{ title .Title }} {{ with .Params.Pronouns }}({{ . }}){{ end }}</h1>
{{ partial "social-link.html" (dict "context" .Params.Pinterest "iclass" "fab fa-pinterest-square fa-2x" "prefix" "https://www.pinterest.com/" "text" "") }}
{{ end }}
{{ if .Params.Instagram }}
{{ partial "social-link.html" (dict "context" .Params.Instagram "iclass" "fab fa-instagram-square fa-2x" "prefix" "https://www.instagram.com/" "text" "") }}
{{ partial "social-link.html" (dict "context" .Params.Instagram "iclass" "fab fa-instagram fa-2x" "prefix" "https://www.instagram.com/" "text" "") }}
{{ end }}
{{ if .Params.YouTube }}
{{ partial "social-link.html" (dict "context" .Params.YouTube "iclass" "fab fa-youtube-square fa-2x" "prefix" "https://www.youtube.com/" "text" "") }}
Expand Down
2 changes: 1 addition & 1 deletion layouts/partials/header.html
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
{{ end }}
{{ if (isset .Site.Params.social "instagram" ) }}
<li>
{{ partial "social-link.html" (dict "context" $.Site.Params.social.instagram "aclass" "social-links" "iclass" "fab fa-instagram-square fa-2x" "prefix" "https://www.instagram.com/" "text" "") }}
{{ partial "social-link.html" (dict "context" $.Site.Params.social.instagram "aclass" "social-links" "iclass" "fab fa-instagram fa-2x" "prefix" "https://www.instagram.com/" "text" "") }}
</li>
{{ end }}
{{ if (isset .Site.Params.social "linkedin" ) }}
Expand Down
2 changes: 1 addition & 1 deletion layouts/partials/hosts.html
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ <h3><a href = "{{(printf "host/%s/" .File.BaseFileName) | absURL }}">{{ .Title }
{{ partial "social-link.html" (dict "context" . "aclass" "" "iclass" "fab fa-pinterest-square fa-2x" "prefix" "https://www.pinterest.com/") }}
{{ end }}
{{ with .Params.Instagram }}
{{ partial "social-link.html" (dict "context" . "aclass" "" "iclass" "fab fa-instagram-square fa-2x" "prefix" "https://www.instagram.com/") }}
{{ partial "social-link.html" (dict "context" . "aclass" "" "iclass" "fab fa-instagram fa-2x" "prefix" "https://www.instagram.com/") }}
{{ end }}
{{ with .Params.YouTube }}
{{ partial "social-link.html" (dict "context" . "aclass" "" "iclass" "fab fa-youtube-square fa-2x" "prefix" "https://www.youtube.com/") }}
Expand Down

0 comments on commit 68ae56c

Please sign in to comment.