{{ define "main" }}
<main class="author">
	<header class="section h-card">
		<div class="container">
			<h1 class="p-name">{{.Title}}</h1>
			<p class="p-note">{{ .Summary }}</p>
			{{ with .Resources.GetMatch "avatar" }}
			<img src="{{ .Permalink }}" alt="{{ .Title }}" width="120" height="120">
			{{ end }}
			<p>h-feed URL: <a class="u-url u-uid" rel="self" href="{{ .Permalink }}">{{.Permalink}}</a></p>
			{{ with .OutputFormats.Get "rss" -}}
			<p>
				<a href="{{ .Permalink}}" rel="{{ .Rel }}" type="{{ .MediaType.Type }}">
					<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 16 16"><title>vaadin:rss-square</title><path fill="currentColor" d="M0 0v16h16V0zm3.6 14c-.9 0-1.6-.7-1.6-1.6s.7-1.6 1.6-1.6s1.6.7 1.6 1.6S4.6 14 3.6 14m4 0c0-3.1-2.5-5.6-5.6-5.6V6c4.4 0 8 3.6 8 8zm4 0c0-5.3-4.3-9.6-9.6-9.6V2c6.6 0 12 5.4 12 12z"/></svg>
					<span>RSS Feed</span>
				</a>
			</p>
			{{ end }}
		</div>
	</header>
	<section class="section entries h-feed">
		<div class="container">
				<h2>Posts written by {{ .Title }}</h2>
				{{ range .Data.Pages }}
					{{ partial "list/h-entry.summary.html" . }}
				{{ end }}
		</div>
	</section>
</main>
{{ end }}