diff options
Squashed 'website/themes/hugo-clarity/' content from commit 4969d5a
git-subtree-dir: website/themes/hugo-clarity
git-subtree-split: 4969d5a1fb2c358c00e2d7f6fc1e39024d7d2355
1 files changed, 15 insertions, 0 deletions
| -rw-r--r-- | layouts/partials/follow.html | 15 |
diff --git a/layouts/partials/follow.html b/layouts/partials/follow.html new file mode 100644 index 0000000..96c7cc2 --- /dev/null +++ b/layouts/partials/follow.html @@ -0,0 +1,15 @@ +{{- $items := .Site.Data.social }} +<div class='follow'> + {{- range $items }} + {{- $url := .url }} + {{- if .internal }} + {{ $url = absURL .url }} + {{- end }} + <a href='{{ $url }}'> + <svg class="icon"> + <use xlink:href="#{{ .item }}"></use> + </svg> + </a> + {{- end }} + {{- partial "mode" . }} +</div> |
