Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/parsiya/Hugo-Octopress.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/partials/compact_index.html')
-rwxr-xr-xlayouts/partials/compact_index.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/partials/compact_index.html b/layouts/partials/compact_index.html
index 43f70e0..7b91dc5 100755
--- a/layouts/partials/compact_index.html
+++ b/layouts/partials/compact_index.html
@@ -19,7 +19,7 @@ td.allposts-title {
<div>
<article role="article">
<table class="allposts">
- {{ range (where .Site.Pages "Type" "post") }}
+ {{ range (where site.RegularPages "Type" "in" site.Params.mainSections) }}
{{ if .IsPage }}
<tr>
<td class="allposts-date"><strong>{{ .Date | dateFormat "2006"}} {{ .Date | dateFormat "Jan" }} {{ .Date | dateFormat "2" }}</strong></td>