35 lines
798 B
HTML
35 lines
798 B
HTML
|
{{ define "main" }}
|
||
|
<main class="blog">
|
||
|
<div class="container">
|
||
|
|
||
|
<article class="post h-entry">
|
||
|
<header>
|
||
|
<h1 class="title">{{ .Title }}</h1>
|
||
|
<p class="summary">{{.Summary}}</p>
|
||
|
{{ with .Params.cover }}
|
||
|
<img class="cover" src="{{.}}">
|
||
|
{{end}}
|
||
|
</header>
|
||
|
<aside class="meta">
|
||
|
<datetime class="date"> {{ .Date.Format "Mon Jan 2, 2006" }} </datetime>
|
||
|
<p class="wordcount"> {{.WordCount}} words</p>
|
||
|
|
||
|
{{ with .Params.tags }}
|
||
|
<p class="tags-title">Keywords</p>
|
||
|
<ul class="tags">
|
||
|
{{ range . }}
|
||
|
<li><a href='{{"tags/" | absURL }}{{. | urlize}}'>{{.}}</a></li>
|
||
|
{{ end }}
|
||
|
</ul>
|
||
|
{{ end }}
|
||
|
|
||
|
{{ .TableOfContents }}
|
||
|
</aside>
|
||
|
<section class="content">
|
||
|
{{ .Content }}
|
||
|
</section>
|
||
|
</article>
|
||
|
</div>
|
||
|
</main>
|
||
|
{{ end }}
|