avoid subpages rendered in parent page
FalcoSuessgott opened this issue · 1 comments
FalcoSuessgott commented
Hi,
any advice how to avoid that the content of all childpages are rendered in the parent page?
FalcoSuessgott commented
ok found it:
changed layouts/_default/list.html
to:
{{ define "header_css" }}{{ end }}
{{ define "body_classes" }}page-default-list{{ end }}
{{ define "header_classes" }}{{ end }}
{{ define "main" }}
<span class="overview">Overview</span>
<h1 class="title">{{ .Title }}</h1>
<div class="content">
{{ .Content }}
</div>
{{ end }}