diff options
author | Garvin Casimir <gjcasimir@gmail.com> | 2019-08-17 21:07:32 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-08-17 21:07:32 +0300 |
commit | f6b0f3a540c3b74e480d0299239d1199088ced09 (patch) | |
tree | 65f9a6aca34757ba0ed6bd81dd600e7fb2f5cbc6 | |
parent | 153a552d76faf61b2f5481d990a22df4acd6e634 (diff) |
Change based on https://github.com/gohugoio/hugoThemes/issues/682#issuecomment-522257376
-rwxr-xr-x | layouts/index.html | 4 |
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" . }} |