Merge pull request #250 from indrora/page-bundles

Use Page Bundles, automatically use cover file if available. Closes #249, #274
This commit is contained in:
Radek Kozieł
2021-11-01 18:49:33 +01:00
committed by GitHub
4 changed files with 28 additions and 10 deletions

View File

@ -26,10 +26,7 @@
{{ end }}
</span>
{{ end }}
{{ if .Params.Cover }}
<img src="{{ .Params.Cover | absURL }}" class="post-cover" alt="{{ .Title | plainify | default " " }}" />
{{ end }}
{{ partial "cover.html" . }}
{{ if .Params.Toc }}
<div class="table-of-contents">