32 lines
808 B
Cheetah
32 lines
808 B
Cheetah
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<title>Blog</title>
|
|
<link rel="icon" href="data:,">
|
|
<link rel="stylesheet" href="_/sakura.css"/>
|
|
<style>
|
|
.tag {
|
|
font-size: .7em;
|
|
}
|
|
.right {
|
|
float: right;
|
|
}
|
|
.title {
|
|
text-align: center;
|
|
font-size: 2.5em;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<h1 class="title">Blog Posts</h1>
|
|
{{range .Blog.SortedPosts}}
|
|
<h5>
|
|
<a href="{{.Slug}}"><strong>{{.Title}}</strong></a><br/>
|
|
{{if .Author}}<small>@{{.Author}}</small>{{end}}<span class="right">{{.Date.Format "Jan 2, 2006"}}</span><br/>
|
|
{{range .Tags}}<code class="tag">{{.}}</code> {{end}}
|
|
</h5>
|
|
<hr/>
|
|
{{end}}
|
|
</body>
|
|
</html> |