mirror of
https://github.com/adityatelange/hugo-PaperMod.git
synced 2025-05-14 23:24:29 -04:00
Add optional custom "title" for social links (#999)
Co-authored-by: Aditya Telange <21258296+adityatelange@users.noreply.github.com>
This commit is contained in:
parent
30a2cc7a65
commit
42fa989316
1 changed files with 1 additions and 1 deletions
|
@ -1,6 +1,6 @@
|
||||||
<div class="social-icons">
|
<div class="social-icons">
|
||||||
{{- range . }}
|
{{- range . }}
|
||||||
<a href="{{ trim .url " " }}" target="_blank" rel="noopener noreferrer me" title="{{ .name | title }}">
|
<a href="{{ trim .url " " }}" target="_blank" rel="noopener noreferrer me" title="{{ (.title | default .name) | title }}">
|
||||||
{{ partial "svg.html" . }}
|
{{ partial "svg.html" . }}
|
||||||
</a>
|
</a>
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue