Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/jakewies/hugo-theme-codex.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJake Wiesler <jakewiesler@gmail.com>2021-06-17 00:08:28 +0300
committerGitHub <noreply@github.com>2021-06-17 00:08:28 +0300
commitc15942ed28d3497a359ded310c5596a3ca006aa5 (patch)
tree95e7e758d805cd1d274d157dbc9a8698b18b02b8
parent81e0ba022799ab39a78999f36439cb9e7f5f5674 (diff)
parent6597dcdd9fd33f9dc06f957b837fb79e4e58e1a3 (diff)
Merge pull request #171 from gprst/patch-2
fix(social-icons): "rel" attribute with multiple values in links
-rw-r--r--layouts/partials/social-icons.html10
1 files changed, 7 insertions, 3 deletions
diff --git a/layouts/partials/social-icons.html b/layouts/partials/social-icons.html
index bdcadbf..3250856 100644
--- a/layouts/partials/social-icons.html
+++ b/layouts/partials/social-icons.html
@@ -5,9 +5,13 @@
{{ range $icons }}
{{ $icon := anchorize . }}
{{ if isset $currentPage.Site.Params $icon }}
- <a class="social-icons__link" rel="me" title="{{ . }}"
- href="{{ index $currentPage.Site.Params $icon }}"
- target="_blank" rel="noopener">
+ <a
+ class="social-icons__link"
+ title="{{ . }}"
+ href="{{ index $currentPage.Site.Params $icon }}"
+ target="_blank"
+ rel="me noopener"
+ >
<div class="social-icons__icon" style="background-image: url('{{print "svg/" $icon ".svg" | absURL}}')"></div>
</a>
{{ end }}