mirror of
https://github.com/ItsDrike/itsdrike.com.git
synced 2024-11-10 05:59:41 +00:00
Add some basic layout HTML
This commit is contained in:
parent
c45258acec
commit
16103599b3
15
layouts/_default/list.html
Normal file
15
layouts/_default/list.html
Normal 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>
|
12
layouts/_default/single.html
Normal file
12
layouts/_default/single.html
Normal 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>
|
Loading…
Reference in a new issue