abdullahtarawneh.com/layouts/_default/single.html

38 lines
873 B
HTML
Raw Normal View History

2020-10-10 19:09:30 +00:00
{{ define "main" }}
<main>
<article class="page">
<header class="section page-header">
<div class="container">
<h1 class="page-title">{{ .Title }}</h1>
2020-10-17 02:41:13 +00:00
<p class="page-summary">{{.Summary}}</p>
{{ with .Params.cover }}
<img class="page-cover" src="{{.}}">
{{end}}
2020-10-10 19:09:30 +00:00
</div>
</header>
2020-10-16 20:00:32 +00:00
<aside class="meta section">
2020-10-10 19:09:30 +00:00
<div class="container">
2020-10-16 20:00:32 +00:00
<datetime class="date"> {{ .Date.Format "Mon Jan 2, 2006" }} </datetime>
<p class="wordcount"> {{.WordCount}} words</p>
2020-10-26 06:29:04 +00:00
2020-10-16 20:00:32 +00:00
{{ with .Params.tags }}
<p>Keywords:</p>
<ul class="tags">
{{ range . }}
<li><a href='{{"tags/" | absURL }}{{. | urlize}}'>{{.}}</a></li>
{{ end }}
</ul>
{{ end }}
2020-10-26 06:29:04 +00:00
2020-10-10 19:09:30 +00:00
{{ .TableOfContents }}
2020-10-16 20:00:32 +00:00
</div>
</aside>
<section class="section">
<div class="container">
2020-10-10 19:09:30 +00:00
{{ .Content }}
</div>
</section>
</article>
</main>
{{ end }}