Also other recent hugo compatibility changes.
Tested on hugo v0.142.0
baseurl = "https://www.bookstackapp.com/"
theme="bookstack"
enableGitInfo=true
-paginate=50
summarylength=20
assetDir = "static"
+[pagination]
+ pagerSize = 50
+
[markup]
defaultMarkdownHandler = "goldmark"
[markup.goldmark]
[privacy]
[privacy.youtube]
- privacyEnhanced = true
\ No newline at end of file
+ privacyEnhanced = true
+
+# Include the hacks content into
+[module]
+ [[module.mounts]]
+ disableWatch = false
+ source = 'content'
+ target = 'content'
+ [[module.mounts]]
+ disableWatch = false
+ source = 'hacks/content'
+ target = 'content/hacks'
\ No newline at end of file
+++
title = "BookStack System CLI"
-date = "2023-06-32"
+date = "2023-06-23"
type = "admin-doc"
+++
+++ /dev/null
-../hacks/content
\ No newline at end of file
<p class="nomargin">
<br>
Latest Blog Post: <br>
- {{ range first 1 ( where .Site.Pages "Section" "blog") }}
+ {{ range first 1 ( where .Site.RegularPages "Section" "blog") }}
<a href="{{.Permalink}}">{{ .Title }}</a>
{{ end }}
</p>
<h2>Latest From The Blog</h2>
<div class="blogpost-cards">
- {{ range first 4 ( where .Site.Pages "Section" "blog") }}
+ {{ range first 4 ( where .Site.RegularPages "Section" "blog") }}
<div class="blogpost-card">
<a href="{{.Permalink}}">
{{ if .Params.image }}
<h2 class="hack-title">{{ .Title }}</h2>
</div>
<section class="hack-excerpt">
- <p>{{ .Summary }} <span class="read-more">»</span></p>
+ <p>{{ .Summary | plainify }} <span class="read-more">»</span></p>
</section>
<div class="hack-meta">
Last Tested On {{ .Params.tested }}