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

github.com/garvincasimir/hugo-h5bp-simple.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGarvin Casimir <gjcasimir@gmail.com>2019-08-17 21:07:32 +0300
committerGitHub <noreply@github.com>2019-08-17 21:07:32 +0300
commitf6b0f3a540c3b74e480d0299239d1199088ced09 (patch)
tree65f9a6aca34757ba0ed6bd81dd600e7fb2f5cbc6
parent153a552d76faf61b2f5481d990a22df4acd6e634 (diff)
Change based on https://github.com/gohugoio/hugoThemes/issues/682#issuecomment-522257376
-rwxr-xr-xlayouts/index.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/layouts/index.html b/layouts/index.html
index 80b720b..533a284 100755
--- a/layouts/index.html
+++ b/layouts/index.html
@@ -1,6 +1,6 @@
{{ partial "header.html" . }}
{{ partial "aside.html" . }}
- {{ range first 10 .Data.Pages }}
+ {{ range first 10 .Site.mainSections }}
<article>
<header>
<h1><a href="{{ .Permalink }}">{{ .Title }}</a></h1>
@@ -11,4 +11,4 @@
{{ partial "pagination.html" .Paginator }}
-{{ partial "footer.html" . }} \ No newline at end of file
+{{ partial "footer.html" . }}