simplify style
This commit is contained in:
parent
88465e757c
commit
458a0291b5
|
@ -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;
|
||||||
|
|
|
@ -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}}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user