mirror of
https://github.com/gohugoio/hugo.git
synced 2025-09-02 22:52:51 +02:00
create/skeletons: Adjust template names in theme skeleton
This commit is contained in:
committed by
Bjørn Erik Pedersen
parent
ad4f63c92f
commit
75b219db89
8
create/skeletons/theme/layouts/section.html
Normal file
8
create/skeletons/theme/layouts/section.html
Normal file
@@ -0,0 +1,8 @@
|
||||
{{ define "main" }}
|
||||
<h1>{{ .Title }}</h1>
|
||||
{{ .Content }}
|
||||
{{ range .Pages }}
|
||||
<h2><a href="{{ .RelPermalink }}">{{ .LinkTitle }}</a></h2>
|
||||
{{ .Summary }}
|
||||
{{ end }}
|
||||
{{ end }}
|
Reference in New Issue
Block a user