diff options
author | Olivier Roques <ojroques@users.noreply.github.com> | 2021-04-29 20:53:19 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-29 20:53:19 +0200 |
commit | e6e7d32b863e7f4a8aaaf897ee1923693f0b24dc (patch) | |
tree | c22fd4c2f4e90afbe99373510ffc82fc3f7ccf09 /layouts/partials | |
parent | 9cf4599276a1dcdeac9ff81014a140ca4fdfb93c (diff) | |
parent | 60feb8ec557a8430c93f5ded388545b76e86c82e (diff) |
Merge pull request #18 from aniolm9/footer-social-icons
New feature: Add social icons in footer
Diffstat (limited to 'layouts/partials')
-rw-r--r-- | layouts/partials/footer.html | 7 | ||||
-rw-r--r-- | layouts/partials/head.html | 1 |
2 files changed, 7 insertions, 1 deletions
diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index 192130b..1574aac 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -1,6 +1,11 @@ <div id="footer" class="mb-5"> + <hr> + <div class="container text-center"> + {{ range $item := .Site.Params.socialIcons }} + <a href="{{ $item.url }}" class="{{ $item.icon }} fa-1x" title="{{ $item.title }}"></a> + {{ end }} + </div> {{ with .Site.Params.footer }} - <hr> <div class="container text-center"> <a href="{{ .url | absURL }}" title="{{ .text }}"><small>{{ .text }}</small></a> </div> diff --git a/layouts/partials/head.html b/layouts/partials/head.html index 6a9d119..df307bb 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -8,6 +8,7 @@ <link href="https://fonts.googleapis.com/css2?family=Inconsolata:wght@400;700&display=swap" rel="stylesheet"> <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@4.5.3/dist/css/bootstrap.min.css" integrity="sha384-TX8t27EcRE3e/ihU7zmQxVncDAy5uIKz4rEkgIXeMed4M0jlfIDPvg6uqKI2xXr2" crossorigin="anonymous"> + <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.3/css/all.min.css" integrity="sha512-iBBXm8fW90+nuLcSKlbmrPcLa0OT92xO1BIsZ+ywDWZCvqsWgccV3gFoRBv0z+8dLJgyAHIhR35VZc2oM/gI1w==" crossorigin="anonymous"> {{ $style := resources.Get "sass/researcher.scss" | resources.ExecuteAsTemplate "sass/researcher.scss" . | toCSS | minify }} <link rel="stylesheet" href="{{ $style.RelPermalink }}"> |