diff options
author | Aniol Marti <aniol@aniolmarti.cat> | 2021-04-29 13:04:24 +0200 |
---|---|---|
committer | Aniol Marti <aniol@aniolmarti.cat> | 2021-04-29 13:04:24 +0200 |
commit | 9056f02b9b0e7fdfe56847c2ff10b21cdb5b493e (patch) | |
tree | fe0afb68092a83f17aac84150902185f2ea5373d /layouts/partials | |
parent | 9cf4599276a1dcdeac9ff81014a140ca4fdfb93c (diff) |
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..56574b3 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"></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 }}"> |