Skip to content
This repository has been archived by the owner on Apr 29, 2024. It is now read-only.

Commit

Permalink
fix #55
Browse files Browse the repository at this point in the history
  • Loading branch information
dsk52 committed Aug 16, 2019
1 parent 1d8baa3 commit 733d04a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions exampleSite/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ theme = "minimage"
description = "Your site description"
author = "Your Name"
logo = '/image/logo.png'
mainSections = ["post"]

[taxonomies]
category = "categories"
Expand Down
2 changes: 1 addition & 1 deletion layouts/_default/list.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{{ define "main" }}
{{ $pag := .Paginate (where .Data.Pages "Type" "post") 5 }}
{{ $pag := .Paginate (where .Site.RegularPages "Type" "post") 5 }}

<div class="p-archive">
<div class="c-container">
Expand Down

0 comments on commit 733d04a

Please sign in to comment.