aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgutmet <me.git@gutmet.org>2020-10-19 10:11:50 +0200
committergutmet <me.git@gutmet.org>2020-10-19 10:11:50 +0200
commit458a0291b523ea83b2c1012e0ab77a4d10d178b7 (patch)
tree06d25ab32f3a86ae96c128eebb930511f08ed0aa
parent88465e757cf9b461aac060f823011a7ba2b1c540 (diff)
downloadwombat-master.tar.gz
simplify styleHEADmaster
-rw-r--r--initer/styles.go1
-rw-r--r--initer/templates.go4
2 files changed, 2 insertions, 3 deletions
diff --git a/initer/styles.go b/initer/styles.go
index fddbe76..8cb7700 100644
--- a/initer/styles.go
+++ b/initer/styles.go
@@ -15,6 +15,7 @@ var defaultStyle string = `body {
a {
color : #0D0;
+ text-decoration: none;
}
a:hover {
color : red;
diff --git a/initer/templates.go b/initer/templates.go
index 84e6c67..91c2888 100644
--- a/initer/templates.go
+++ b/initer/templates.go
@@ -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}}