mirror of
https://github.com/Wonderfall/hugo-WonderMod.git
synced 2024-10-01 01:06:14 -04: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