abdullahtarawneh.com/layouts/code/single.html

26 lines
540 B
HTML
Raw Normal View History

2024-03-17 03:48:10 +00:00
{{ 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 }}