huge upgrade to theme and pagefind search bar.
This commit is contained in:
19
themes/hugo-book.backup/layouts/posts/single.html
Normal file
19
themes/hugo-book.backup/layouts/posts/single.html
Normal file
@@ -0,0 +1,19 @@
|
||||
{{ define "main" }}
|
||||
<article class="markdown book-post">
|
||||
<h1>
|
||||
{{ partial "docs/title" . }}
|
||||
</h1>
|
||||
{{ partial "docs/post-meta" . }}
|
||||
<div class="book-post-content markdown-inner">
|
||||
{{- .Content -}}
|
||||
</div>
|
||||
</article>
|
||||
{{ end }}
|
||||
|
||||
{{ define "toc" }}
|
||||
{{ partial "docs/toc" . }}
|
||||
{{ end }}
|
||||
|
||||
{{ define "footer" }}
|
||||
{{ partial "docs/post-prev-next" . }}
|
||||
{{ end }}
|
||||
Reference in New Issue
Block a user