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}}
|
{{end}}
|
||||||
<h1>{{ if .Site.Params.profileMode.title }}{{.Site.Params.profileMode.title}}{{ else }}{{ .Site.Title }}{{end}}
|
<h1>{{ if .Site.Params.profileMode.title }}{{.Site.Params.profileMode.title}}{{ else }}{{ .Site.Title }}{{end}}
|
||||||
</h1>
|
</h1>
|
||||||
{{- with .Site.Params.profileMode.socialIcons }}
|
{{- with .Site.Params.socialIcons }}
|
||||||
<div class="social-icons">
|
<div class="social-icons">
|
||||||
{{ partial "social-icons.html" . }}
|
{{ partial "social-icons.html" . }}
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user