fixed homepage list issue

This commit is contained in:
Oliver Atkinson 2023-02-09 14:37:03 -07:00
parent 11269d351b
commit 1b7552e97a
3 changed files with 3 additions and 2 deletions

View File

@ -2,6 +2,6 @@
title: "{{ replace .Name "-" " " | title }}"
date: {{ .Date }}
description: "Example"
tags: ['']
tags: ['blog']
draft: true
---

View File

@ -25,7 +25,6 @@
<h4 id="tag_{{ .Title }}">
{{ if not .IsHome }} {{ .Params.description }} {{ end }}
</h4>
</header>
<article>
{{ block "main" . }}

View File

@ -3,6 +3,7 @@
{{- end }}
{{ define "main" -}}
{{ .Content }}
{{ if not .IsHome }}
<ul>
{{- range.Pages }}
<li>
@ -15,3 +16,4 @@
{{- end }}
</ul>
{{- end }}
{{ end }}