_default/list.html enable "Content" of _index.md

This commit is contained in:
Marek Nečada 2022-04-11 22:05:24 +03:00
parent ca31028dfe
commit 11ba1b48bb
1 changed files with 5 additions and 0 deletions

View File

@ -1,6 +1,11 @@
{{ define "main" -}}
<ul class="posts">
<h1>{{ .Title }}</h1>
{{ with .Content }}
<div class="index_content">
{{- . -}}
</div>
{{ end }}
{{ range .Data.Pages -}}
<li>
<div class="flex">