simplify style

This commit is contained in:
gutmet 2020-10-19 10:11:50 +02:00
parent 88465e757c
commit 458a0291b5
2 changed files with 2 additions and 3 deletions

View File

@ -15,6 +15,7 @@ var defaultStyle string = `body {
a {
color : #0D0;
text-decoration: none;
}
a:hover {
color : red;

View File

@ -64,11 +64,9 @@ var defaultTemplate string = `<!DOCTYPE html>
{{if .TimelineListing}}
<div class="timelineListing">
<dl>
{{range $i, $post := .TimelineListing -}}
<dt>{{$post.Meta.FormattedDate}}</dt><dd><a href="{{$post.Link}}" class="timelineListing">{{$post.Meta.Title}}</a></dd>
{{$post.Meta.FormattedDate}}: <a href="{{$post.Link}}" class="timelineListing">{{$post.Meta.Title}}</a><br>
{{end}}
</dl>
</div>
{{end}}