Files
cocoa-eh-hugo-theme/layouts/partials/footer.html
Quentin Bourgeois bf8882faef <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.
2017-06-14 02:00:52 +02:00

56 lines
1.6 KiB
HTML

<section class="footer">
<div class="container">
<div class="copyright">
{{ if .Site.Params.copyright }}
<a href="{{ .Site.BaseURL }}license">{{ .Site.Params.copyright}}</a>
{{ end }}
</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" />
</a>
{{ end }}
{{ if .Site.Params.twitter }}
<a href="https://twitter.com/{{ .Site.Params.twitter }}" target="_blank">
<img class="icon" src="/img/twitter.svg" alt="twitter" />
</a>
{{ end }}
{{ if .Site.Params.linkedin }}
<a href="https://www.linkedin.com/in/{{ .Site.Params.linkedin }}" target="_blank">
<img class="icon" src="/img/linkedin.svg" alt="linkedin" />
</a>
{{ end }}
{{ if .Site.Params.email }}
<a href="mailto:{{ .Site.Params.email }}">
<img class="icon" src="/img/email.svg" alt="email" />
</a>
{{ end }}
{{ if .Site.RSSLink }}
<a href="{{ .Site.RSSLink }}">
<img class="icon" src="/img/rss.svg" alt="rss" />
</a>
{{ end }}
</div>
</div>
</section>
{{ partial "footer_scripts" . }}
</body>
</html>