itsdrike.com/layouts/partials/content.html

22 lines
453 B
HTML
Raw Normal View History

2021-08-25 09:53:41 +00:00
<h1 class="display-4">{{ .Title }}</h1>
{{ if .Params.subtitle }}
2021-08-26 00:06:40 +00:00
<h5 class="my-3">{{ markdownify .Params.subtitle | emojify }}</h5>
2021-08-25 09:53:41 +00:00
{{ end }}
2021-08-24 17:49:26 +00:00
{{ if .IsPage }}
2021-08-26 00:06:40 +00:00
<p>{{ partial "content-details.html" . }}</p>
2021-08-24 17:49:26 +00:00
{{ end }}
2021-08-25 09:53:41 +00:00
{{ if .Content }}
2021-08-26 00:06:40 +00:00
<hr>
2021-08-25 09:53:41 +00:00
2021-08-26 00:06:40 +00:00
<div class="content mt-3">
{{ if .TableOfContents }}
<div class="float-lg-end ml-lg-3 mb-3 p-3">
{{ .TableOfContents }}
</div>
{{ end }}
{{ .Content }}
</div>
2021-08-25 09:53:41 +00:00
{{ end }}