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 { a {
color : #0D0; color : #0D0;
text-decoration: none;
} }
a:hover { a:hover {
color : red; color : red;

View File

@ -64,11 +64,9 @@ var defaultTemplate string = `<!DOCTYPE html>
{{if .TimelineListing}} {{if .TimelineListing}}
<div class="timelineListing"> <div class="timelineListing">
<dl>
{{range $i, $post := .TimelineListing -}} {{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}} {{end}}
</dl>
</div> </div>
{{end}} {{end}}