diff options
author | kentnek <itaqmail@gmail.com> | 2020-07-04 20:59:01 +0300 |
---|---|---|
committer | kentnek <itaqmail@gmail.com> | 2020-07-04 21:18:37 +0300 |
commit | a562e4bf023ad49f127a06ad976e926fdb3591e9 (patch) | |
tree | 5d530080ba303e49b799608391a5e8b4f4fbcd7d /layouts | |
parent | 0459931d1fd44e6bf1e8e3ffadcbbb68f568dbb9 (diff) |
fix relative icon issue + add title
Diffstat (limited to 'layouts')
-rw-r--r-- | layouts/partials/social-icons.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/partials/social-icons.html b/layouts/partials/social-icons.html index e3b6ae2..444ea6b 100644 --- a/layouts/partials/social-icons.html +++ b/layouts/partials/social-icons.html @@ -6,7 +6,7 @@ {{ $icon := anchorize . }} {{ if isset $currentPage.Site.Params $icon }} <a class="social-icons__icon" title="{{ . }}" - style="background-image: url(/images/social/{{ $icon }}.svg)" + style="background-image: url('{{print "images/social/" $icon ".svg" | absURL}}')" href="{{ index $currentPage.Site.Params $icon }}" target="_blank" rel="noopener"> </a> |