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

github.com/jesselau76/hugo-w3-simple.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjesselau76 <jesselau76@gmail.com>2018-11-14 06:57:18 +0300
committerjesselau76 <jesselau76@gmail.com>2018-11-14 06:57:18 +0300
commit7d9cb3fa95bfd650f46cc71481123538339c2a5d (patch)
tree3342cc65444186f5da9675c4d5fd7748bacd2f12
parent4b49df2d0b8b8de3cb315c46089d4d873ad8c680 (diff)
remove post folder from allposts page
-rw-r--r--layouts/section/allposts.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/section/allposts.html b/layouts/section/allposts.html
index 092420e..8cb502b 100644
--- a/layouts/section/allposts.html
+++ b/layouts/section/allposts.html
@@ -18,7 +18,7 @@
<th onclick="w3.sortHTML('#id01', '.item', 'td:nth-child(2)')" style="cursor:pointer">Publication&nbsp;Date <i class="fa fa-sort" style="font-size:13px;"></i>&nbsp;&nbsp;</th>
<th onclick="w3.sortHTMLbyNumber('#id01', '.item', 'td:nth-child(3)')" style="cursor:pointer">Word Count <i class="fa fa-sort" style="font-size:13px;"></i>&nbsp;&nbsp;&nbsp;&nbsp;</th>
</tr>
- {{range where .Site.Pages "Section" "posts"}}
+ {{range where .Site.RegularPages "Section" "posts"}}
<tr class="item ">
<td><a href="{{.Permalink}}">{{.Title}}</a></td>
<td>{{ .Date.Format "2006/01/02" }}</td>