Rename index.html -> home.html and remove 404.html

Hugo new layouts asks to rename to home.html
Not sure 404.html is used
This commit is contained in:
2025-05-28 14:45:38 -04:00
parent 3b8ce84b1e
commit c93379bf7c
2 changed files with 0 additions and 0 deletions

29
layouts/home.html Normal file
View File

@ -0,0 +1,29 @@
{{ define "main" }}
{{ .Content }}
<hr>
{{- if .Site.Params.showTagList }}
<h2>Tags</h2>
{{ range .Site.Taxonomies.tags }}
<details>
<summary> <h3>{{ .Page.Title }} ({{ len . }})</h3> </summary>
<ul>
{{ range . }}
<li>
<time>{{ .Date.Format "2006/01/02" }}</time>
<a href="{{ .RelPermalink }}">{{ .Title | markdownify }}</a>
</li>
{{ end }}
</ol>
</details>
{{ end }}
{{- end }}
<h2>All Pages</h2>
<ul>
{{ range .Site.RegularPages }}
<li>
<time>{{ .Date.Format "2006/01/02" }}</time>
<a href="{{ .RelPermalink }}">{{ .Title | markdownify }}</a>
</li>
{{ end }}
</ul>
{{ end }}