mirror of
https://github.com/Wonderfall/hugo-WonderMod.git
synced 2024-11-29 22:06:54 +01:00
faf0ebefa3
* so that it can be accessible to other modes
usage : in config
params:
socialIcons:
- name: "<platform>"
url: : "<link>"
ref : f852d06923
16 lines
573 B
HTML
16 lines
573 B
HTML
<div class="profile">
|
|
<div class="profile_inner">
|
|
{{if .Site.Params.profileMode.imageUrl}}
|
|
<div>
|
|
<img src="{{ .Site.Params.profileMode.imageUrl}}" alt="{{ .Site.Params.profileMode.imageTitle}}" />
|
|
</div>
|
|
{{end}}
|
|
<h1>{{ if .Site.Params.profileMode.title }}{{.Site.Params.profileMode.title}}{{ else }}{{ .Site.Title }}{{end}}
|
|
</h1>
|
|
{{- with .Site.Params.socialIcons }}
|
|
<div class="social-icons">
|
|
{{ partial "social-icons.html" . }}
|
|
</div>
|
|
{{- end }}
|
|
</div>
|
|
</div> |