aboutsummaryrefslogtreecommitdiff
path: root/templates/page/now.gohtml
diff options
context:
space:
mode:
Diffstat (limited to 'templates/page/now.gohtml')
-rw-r--r--templates/page/now.gohtml23
1 files changed, 23 insertions, 0 deletions
diff --git a/templates/page/now.gohtml b/templates/page/now.gohtml
new file mode 100644
index 0000000..96c8b77
--- /dev/null
+++ b/templates/page/now.gohtml
@@ -0,0 +1,23 @@
+{{define "body"}}
+ <main style="{{ .GetBackground }}">
+ <div class="header">
+ <h1 class="header__title">Now</h1>
+ <nav>
+ <a href="/">Home</a>
+ </nav>
+ </div>
+ <div class="tags" style="{{ .Color.GetTagColor }}">
+ {{ range $now := .Person.Now }}
+ <div class="tag">
+ {{ if ne .Name "" }}
+ <h4>{{ .Name }}</h4>
+ {{ end }}
+ <p>{{ .Description }}</p>
+ {{ if and (ne .Link "") (ne .LinkName "") }}
+ <p><a href="{{ .Link }}">{{ .LinkName }}</a></p>
+ {{ end }}
+ </div>
+ {{ end }}
+ </div>
+ </main>
+{{end}} \ No newline at end of file