mirror of
https://github.com/tiennm99/hugoDocs.git
synced 2026-10-12 22:14:43 +00:00
Update homepage.md
This commit is contained in:
1 parent
7a1e0b7422
commit
bfabd8ce87
1 file changed
+1
-2
@@ -54,8 +54,7 @@ The following is an example of a homepage template that uses [partial][partials]
|
||||
{{.Content}}
|
||||
</div>
|
||||
<div>
|
||||
<!-- Note that .Pages is the same as .Site.RegularPages on the homepage template. -->
|
||||
{{ range first 10 .Pages }}
|
||||
{{ range first 10 .Site.RegularPages }}
|
||||
{{ .Render "summary"}}
|
||||
{{ end }}
|
||||
</div>
|
||||
|
||||
Reference in new issue
Block a user