26 lines
540 B
HTML
26 lines
540 B
HTML
{{ define "main" }}
|
|
<main>
|
|
<article class="page">
|
|
<header class="section page-header">
|
|
<div class="container">
|
|
<h1 class="page-title">{{ .Title }}</h1>
|
|
<p class="page-summary">{{.Summary}}</p>
|
|
{{ with .Resources.GetMatch "cover**" }}
|
|
<img src="{{.RelPermalink}}">
|
|
{{ end }}
|
|
</div>
|
|
</header>
|
|
<aside>
|
|
<div class="container">
|
|
{{.TableOfContents}}
|
|
</div>
|
|
</aside>
|
|
<section class="section content">
|
|
<div class="container">
|
|
{{ .Content }}
|
|
</div>
|
|
</section>
|
|
</article>
|
|
</main>
|
|
{{ end }}
|