Indent layout files, link to about page

This commit is contained in:
Joshua Goins 2022-08-03 13:38:47 -04:00
parent 91af8d0ac9
commit f5aa1d63a7
9 changed files with 16 additions and 11 deletions

3
content/_index.md Normal file
View file

@ -0,0 +1,3 @@
See my [gallery](/art)!
See my [about page](/about)!

View file

@ -1 +1 @@
Hello this is my about page :-)

View file

@ -0,0 +1,3 @@
{{ define "main" }}
Page not found!
{{ end }}

View file

@ -3,9 +3,7 @@
{{- partial "head.html" . -}}
<body>
{{- partial "header.html" . -}}
<div id="content">
{{- block "main" . }}{{- end }}
</div>
{{- partial "footer.html" . -}}
</body>
</html>

View file

@ -1,7 +1,5 @@
{{ define "main" }}
<h2>{{ .Title }}</h2>
<h2>{{ .Title }}</h2>
{{ .Content }}
{{ .Content }}
{{ end }}

View file

@ -1,7 +1,5 @@
{{ define "main" }}
<h2>{{ .Title }}</h2>
<h2>{{ .Title }}</h2>
{{ .Content }}
{{ .Content }}
{{ end }}

View file

@ -0,0 +1,3 @@
{{ define "main" }}
{{ .Content }}
{{ end }}

View file

@ -0,0 +1 @@
Copyright (c) 2022

View file

@ -0,0 +1 @@
<h1>{{ .Site.Title }}</h1>