mirror of
https://github.com/adityatelange/hugo-PaperMod.git
synced 2023-12-21 10:22:58 +01: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