hugo-PaperMod/layouts/partials/indexProfile.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>