]> BookStack Code Mirror - website/blobdiff - themes/bookstack/layouts/index.html
Migrated hacks to module instead of symlink
[website] / themes / bookstack / layouts / index.html
index 3e9754cd0d9b30d71805e686f52b0b2ca097a2ba..a75f5ce452cfd8d04feb04ea797e70350ad5041e 100644 (file)
@@ -14,7 +14,7 @@
                                <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 }}