|
@@ -1,5 +1,5 @@
|
|
|
{{ if and site.Params.sharing (ne .Params.share false) }}
|
|
|
-<div class="share-box" aria-hidden="true">
|
|
|
+<div class="share-box">
|
|
|
<ul class="share">
|
|
|
{{ range where site.Data.page_sharer.buttons "enable" true }}
|
|
|
{{ $pack := or .icon_pack "fas" }}
|
|
@@ -10,7 +10,7 @@
|
|
|
{{ $link := replace .url "{url}" ($.Permalink | htmlEscape) }}
|
|
|
{{ $link = replace $link "{title}" ($.Title | htmlEscape) }}
|
|
|
<li>
|
|
|
- <a href="{{$link|safeURL}}" target="_blank" rel="noopener" class="share-btn-{{.id}}">
|
|
|
+ <a href="{{$link|safeURL}}" target="_blank" rel="noopener" class="share-btn-{{.id}}" aria-label="{{.icon}}">
|
|
|
<i class="{{$pack}} {{$pack_prefix}}-{{.icon}}"></i>
|
|
|
</a>
|
|
|
</li>
|