resume-a4/layouts/partials/header.html
Jaakko Kantojärvi 3e13c5ea2d Rewrite all layouts, data and configuration structures
* Add support for multiple pages
* Add support to reorder and move features to columns and pages
* Add support for new sections with generic widgets
2021-03-03 18:01:09 +02:00

15 lines
583 B
HTML

<div class="title">
{{ with .Data.features.about }}
<h1 class="name">{{ .name }}</h1>
{{ if $.Header.tagline }}<h2 class="tagline">{{ .tagline }}</h2>{{end}}
{{ if $.Header.contact }}<span class="contact">{{ .phone }} | {{ .email }}</span>{{ end }}
{{ if $.Header.links }}
{{ range .links }}
<a href="{{ .url }}" class="no-external-icon">{{ if and $.useFontAwesome .icon }}<i class="{{ .icon }}"></i>{{ end }}{{ .title }}</a>
{{ end }}
{{ end }}
{{ end }}
</div>
{{ if .Header.avatar }}
<div><img class="avatar right" src="{{ .Header.avatar }}"></div>
{{ end }}