mirror of
https://github.com/adityatelange/hugo-PaperMod.git
synced 2024-12-25 22:45:53 -05:00
social-icons : set icons in Params.socialIcons
* so that it can be accessible to other modes
usage : in config
params:
socialIcons:
- name: "<platform>"
url: : "<link>"
ref : f852d06923
This commit is contained in:
parent
5345b3e6b0
commit
faf0ebefa3
@ -7,7 +7,7 @@
|
||||
{{end}}
|
||||
<h1>{{ if .Site.Params.profileMode.title }}{{.Site.Params.profileMode.title}}{{ else }}{{ .Site.Title }}{{end}}
|
||||
</h1>
|
||||
{{- with .Site.Params.profileMode.socialIcons }}
|
||||
{{- with .Site.Params.socialIcons }}
|
||||
<div class="social-icons">
|
||||
{{ partial "social-icons.html" . }}
|
||||
</div>
|
||||
|
Loading…
Reference in New Issue
Block a user