37 lines
881 B
HTML
37 lines
881 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 .Params.cover }}
|
|
<img class="page-cover" src="{{.}}">
|
|
{{end}}
|
|
</div>
|
|
</header>
|
|
<aside class="meta section">
|
|
<div class="container">
|
|
<datetime class="date"> {{ .Date.Format "Mon Jan 2, 2006" }} </datetime>
|
|
<p class="wordcount"> {{.WordCount}} words</p>
|
|
|
|
{{ with .Params.tags }}
|
|
<p>Keywords:</p>
|
|
<ul class="tags">
|
|
{{ range . }}
|
|
<li><a href='{{"tags/" | absURL }}{{. | urlize}}'>{{.}}</a></li>
|
|
{{ end }}
|
|
</ul>
|
|
{{ end }}
|
|
|
|
{{ .TableOfContents }}
|
|
</div>
|
|
</aside>
|
|
<section class="section content">
|
|
<div class="container">
|
|
{{ .Content }}
|
|
</div>
|
|
</section>
|
|
</article>
|
|
</main>
|
|
{{ end }}
|