simplify style
This commit is contained in:
parent
88465e757c
commit
458a0291b5
|
@ -15,6 +15,7 @@ var defaultStyle string = `body {
|
|||
|
||||
a {
|
||||
color : #0D0;
|
||||
text-decoration: none;
|
||||
}
|
||||
a:hover {
|
||||
color : red;
|
||||
|
|
|
@ -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}}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user