24 lines
788 B
HTML
24 lines
788 B
HTML
{{ define "body" }}
|
|
<body class="{{ if .Site.Params.backgroundImage }} background-image" style="background-image: url('{{ .Site.Params.backgroundImage }}');" {{ else }}"{{ end }}>
|
|
{{ end }}
|
|
|
|
{{ define "main" }}
|
|
<main aria-role="main">
|
|
<div>
|
|
{{ if .Site.Params.Portrait.Path }}
|
|
<img src="{{ .Site.Params.Portrait.Path }}" class="circle" alt="{{ .Site.Params.Portrait.Alt }}" style="max-width:{{ .Site.Params.Portrait.MaxWidth }}" />
|
|
{{ end }}
|
|
|
|
<h1>{{ .Site.Title }}</h1>
|
|
|
|
{{ partial "subtitle.html" . }}
|
|
|
|
{{- with .Site.Params.social }}
|
|
<div>
|
|
{{ partial "social-icons.html" . }}
|
|
</div>
|
|
{{- end }}
|
|
</div>
|
|
</main>
|
|
{{ end }}
|