summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--layouts/stream/list.html18
-rw-r--r--themes/problematic/layouts/_default/single.html15
2 files changed, 30 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 }}
diff --git a/themes/problematic/layouts/_default/single.html b/themes/problematic/layouts/_default/single.html
index 8da12c7..57895ef 100644
--- a/themes/problematic/layouts/_default/single.html
+++ b/themes/problematic/layouts/_default/single.html
@@ -8,5 +8,20 @@
<h2 class="title">{{ .Title }}</h2>
{{ .Date.Format "Monday, 2 January 2006" }}
+
{{ .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>
+
{{ end }}