added main page

This commit is contained in:
2023-01-07 14:09:01 -07:00
parent 108aad06bc
commit 5a26286c0c
3 changed files with 61 additions and 5 deletions

View File

@@ -17,7 +17,16 @@
<body>
{{ if .Site.Menus.main }}{{ partial "nav.html" . }}{{ end -}}
<main>
<header><h1 id="tag_{{ .Title }}">{{ block "title" . }}{{ end }}</h1></header>
<header>
<h1 id="tag_{{ .Title }}">
{{ if .IsHome }} {{ .Site.Title }} {{ end }}
{{ block "title" . }}
{{ end }}</h1>
<h4 id="tag_{{ .Title }}">
{{ if not .IsHome }} {{ .Params.description }} {{ end }}
</h4>
</header>
<article>
{{ block "main" . }}
{{ .Content }}