diff --git a/templates/completed.html b/templates/completed.html
index 5bc5158..dd56de5 100644
--- a/templates/completed.html
+++ b/templates/completed.html
@@ -1,33 +1,28 @@
{{template "_head.html" .}}
- {{ if .Tasks}}
- {{range .Tasks}}
+ {{ if .Tasks}} {{range $key, $value := .Tasks}}
-
{{.Title}}
-
{{.Content}}
+
{{$value.Title}}
+
{{$value.Content}}
{{end}} {{else}}
diff --git a/templates/deleted.html b/templates/deleted.html
index 162034b..37924de 100644
--- a/templates/deleted.html
+++ b/templates/deleted.html
@@ -7,34 +7,28 @@
{{end}}
- {{ if .Tasks}}
- {{range .Tasks}}
+ {{ if .Tasks}} {{range $key, $value := .Tasks}}
-
{{.Title}}
-
{{.Content}}
+
{{$value.Title}}
+
{{$value.Content}}