mirror of
https://github.com/Noettore/cocoa-eh-hugo-theme.git
synced 2025-10-15 19:56:41 +02:00
<footer/social: Add the possibility to link to facebook account>
For some reason people may wants to have one facebook account directly linked into the footer of the site generated using cocoa-eh. So do I, maybe more people may use that too.
This commit is contained in:
@@ -9,6 +9,12 @@
|
||||
</div>
|
||||
<div class="icons">
|
||||
|
||||
{{ if .Site.Params.facebook }}
|
||||
<a href="https://facebook.com/{{ .Site.Params.facebook }}" target="_blank">
|
||||
<img class="icon" src="/img/facebook.svg" alt="facebook" />
|
||||
</a>
|
||||
{{ end }}
|
||||
|
||||
{{ if .Site.Params.github }}
|
||||
<a href="https://github.com/{{ .Site.Params.github }}" target="_blank">
|
||||
<img class="icon" src="/img/github.svg" alt="github" />
|
||||
|
Reference in New Issue
Block a user