2020-08-25 12:47:24 +01:00
|
|
|
<div class="profile">
|
2020-09-23 08:22:32 +01:00
|
|
|
{{- with .Site.Params.profileMode }}
|
2020-08-25 12:47:24 +01:00
|
|
|
<div class="profile_inner">
|
2020-09-23 08:22:32 +01:00
|
|
|
{{- if .imageUrl}}<img src="{{ .imageUrl}}" alt="{{ .imageTitle | default "profile image" }}" />{{- end}}
|
2020-09-06 15:37:57 +01:00
|
|
|
<h1>{{ .title | default $.Site.Title }}</h1>
|
|
|
|
{{- with $.Site.Params.socialIcons }}
|
2020-08-25 12:47:24 +01:00
|
|
|
<div class="social-icons">
|
2020-09-23 13:53:57 +01:00
|
|
|
{{ partial "social_icons.html" . }}
|
2020-08-25 12:47:24 +01:00
|
|
|
</div>
|
|
|
|
{{- end }}
|
2020-09-06 15:37:57 +01:00
|
|
|
{{- with .buttons }}
|
2020-08-28 13:57:26 +01:00
|
|
|
<div class="buttons">
|
2020-09-23 12:09:23 +01:00
|
|
|
{{- range . -}}
|
|
|
|
<a class="button" href="{{ .url }}" rel="noopener" title="{{ .name | humanize }}">
|
|
|
|
<span class="button-inner">{{ .name }}</span>
|
|
|
|
</a>
|
|
|
|
{{- end -}}
|
2020-08-28 13:57:26 +01:00
|
|
|
</div>
|
|
|
|
{{- end }}
|
2020-08-25 12:47:24 +01:00
|
|
|
</div>
|
2020-09-23 08:22:32 +01:00
|
|
|
{{- end}}
|
2020-08-25 12:47:24 +01:00
|
|
|
</div>
|