summaryrefslogtreecommitdiffstats
path: root/layouts/stream
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/stream')
-rw-r--r--layouts/stream/list.html18
1 files changed, 15 insertions, 3 deletions
diff --git a/layouts/stream/list.html b/layouts/stream/list.html
index bf83b80..a45ef0b 100644
--- a/layouts/stream/list.html
+++ b/layouts/stream/list.html
@@ -1,11 +1,23 @@
{{ define "main" }}
-{{ .Content }}
-
{{ range where site.RegularPages "Section" "stream" }}
<h3 id="{{ .Date.Format "Monday, 2 January 2006"| urlize}}">{{ .Date.Format "Monday, 2 January 2006" }}</h3>
+
{{ .Content }}
+
+ {{ if .Params.tags }}
+ <div style="background-color: rgb(240, 240, 240);">
+ This post is tagged with:
+ {{ range .Params.tags }}
+ <a href="{{ "tags" | absURL }}/{{ . | urlize }}">{{ . }}</a>
+ {{ end }}
+ {{ else }}
+ <div style="background-color: rgb(240, 240, 240); margin-top: 20px;">
+ This post is untagged.
+ </div>
+ {{ end }}
+ </div>
<hr class="new1">
-{{ end }}
+ {{ end }}
{{ end }}