better timeline
This commit is contained in:
parent
6cc17fd4e8
commit
0011f1a171
|
@ -26,16 +26,6 @@ a.linktopost {
|
|||
a.categoryListing {
|
||||
color: #E8E8E8;
|
||||
}
|
||||
a.timelineListing {
|
||||
color: #E8E8E8;
|
||||
text-decoration : none;
|
||||
}
|
||||
a.timelineListing:hover {
|
||||
color : red;
|
||||
}
|
||||
div.timelineListing {
|
||||
font-family: Monospace;
|
||||
}
|
||||
img {
|
||||
display:block;
|
||||
max-width: 100%;
|
||||
|
|
|
@ -64,9 +64,11 @@ var defaultTemplate string = `<!DOCTYPE html>
|
|||
|
||||
{{if .TimelineListing}}
|
||||
<div class="timelineListing">
|
||||
<dl>
|
||||
{{range $i, $post := .TimelineListing -}}
|
||||
<a href="{{$post.Link}}" class="timelineListing">{{$post.Meta.FormattedDate}} {{$post.Meta.Title}}</a><br>
|
||||
<dt>{{$post.Meta.FormattedDate}}</dt><dd><a href="{{$post.Link}}" class="timelineListing">{{$post.Meta.Title}}</a></dd>
|
||||
{{end}}
|
||||
</dl>
|
||||
</div>
|
||||
{{end}}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user