Show only posts on home page
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
{{ define "main" }}
|
{{ define "main" }}
|
||||||
{{ .Content }}
|
{{ .Content }}
|
||||||
{{ range site.RegularPages }}
|
{{ range where site.RegularPages "Type" "posts"}}
|
||||||
<section>
|
<section>
|
||||||
<h2><a href="{{ .RelPermalink }}">{{ .LinkTitle }}</a></h2>
|
<h2><a href="{{ .RelPermalink }}">{{ .LinkTitle }}</a></h2>
|
||||||
{{ .Summary }}
|
{{ .Summary }}
|
||||||
|
|||||||
Reference in New Issue
Block a user