Skip to content
This repository has been archived by the owner on Jan 3, 2023. It is now read-only.

Commit

Permalink
fix issue per gohugoio/hugoThemes#682
Browse files Browse the repository at this point in the history
  • Loading branch information
zwbetz-gh committed Aug 16, 2019
1 parent 50936ab commit 634920a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion layouts/partials/post-list.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{{ range where .Pages.ByPublishDate.Reverse "Section" "post" }}
{{ $pages := where site.RegularPages "Type" "in" site.Params.mainSections }}
{{ range $pages.ByPublishDate.Reverse }}
<p>
<a href="{{ .Permalink }}">{{ .Title | markdownify }}</a>
{{ $customDateFormat := "January 2, 2006" }}
Expand Down
2 changes: 1 addition & 1 deletion netlify.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
command = "cd exampleSite && hugo --gc --themesDir ../.."

[build.environment]
HUGO_VERSION = "0.54.0"
HUGO_VERSION = "0.57.1"
HUGO_THEME = "repo"
HUGO_BASEURL = "https://minimal-bootstrap-hugo-theme.netlify.com/"

0 comments on commit 634920a

Please # to comment.