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