Add some basic layout HTML

This commit is contained in:
ItsDrike 2021-08-24 19:10:29 +02:00
parent c45258acec
commit 16103599b3
No known key found for this signature in database
GPG key ID: B5F6B41F708C3ADD
2 changed files with 27 additions and 0 deletions

View file

@ -0,0 +1,15 @@
<html lang="en">
<head>
<meta charset="UTF-8">
<title>{{.Title}}</title>
</head>
<body>
<h1>{{.Title}}</h1>
{{.Content}}
{{ range .Pages }}
<ul>
<li><a href="{{.Permalink}}">{{.Title}}</a></li>
</ul>
{{end}}
</body>
</html>

View file

@ -0,0 +1,12 @@
<html lang="en">
<head>
<meta charset="UTF-8">
<title>{{.Title}}</title>
</head>
<body>
<h1>{{.Title}}</h1>
<h4>{{.Date}}</h4>
<br>
{{.Content}}
</body>
</html>