mirror of
https://github.com/Wonderfall/hugo-WonderMod.git
synced 2024-11-26 04:21:38 +01:00
df457f7514
ex. params: profileMode: buttons: - name: Archive url: "/archive" - name: Github url: "https://github.com/"
21 lines
745 B
HTML
21 lines
745 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 }}
|
|
{{- with .Site.Params.profileMode.buttons }}
|
|
<div class="buttons">
|
|
{{ partial "indexProfileButtons.html" . }}
|
|
</div>
|
|
{{- end }}
|
|
</div>
|
|
</div> |