baseddata.io/layouts/partials/main-article.html

22 lines
610 B
HTML
Raw Normal View History

2024-08-07 00:39:11 +01:00
<div class="article-container">
<article class="main-article">
<header>
<h1>{{ .Title }}</h1>
<div class="author-row">
{{ with .Params.author }}
<strong><p class="author-name">{{ .name }}</p></strong>
<p class="author-name">on</p>
{{ end }} {{ if isset .Params "date" }}
<time>{{ .Date.Format "January 2, 2006" }}</time>
{{ end }}
</div>
</header>
{{ if .Params.toc }}
2024-08-07 00:39:11 +01:00
<div id="tocWrapper">
<h4>Table of Contents</h4>
<aside>{{.TableOfContents}}</aside>
2024-08-01 14:06:16 +01:00
</div>
{{ end }} {{ .Content }}
2024-08-07 00:39:11 +01:00
</article>
</div>