aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarald Eilertsen <haraldei@anduin.net>2018-08-01 13:49:22 +0200
committerHarald Eilertsen <haraldei@anduin.net>2018-08-01 13:49:22 +0200
commite569a688d9678e14f048003b15d076d1d57a3b55 (patch)
treef20c51618c696aa21715580766505e7cfdf26dd2
parent3ef15d64c60d943b64d998449ed0eaa1dee0ac3e (diff)
downloadrocket-blog-e569a688d9678e14f048003b15d076d1d57a3b55.tar.gz
rocket-blog-e569a688d9678e14f048003b15d076d1d57a3b55.tar.bz2
rocket-blog-e569a688d9678e14f048003b15d076d1d57a3b55.zip
Pretty up the main layout a bit.
-rw-r--r--templates/layout.html6
1 files changed, 5 insertions, 1 deletions
diff --git a/templates/layout.html b/templates/layout.html
index 887a2b7..144d202 100644
--- a/templates/layout.html
+++ b/templates/layout.html
@@ -8,7 +8,11 @@
<header class="page-header">
<h1>{{ title }}</h1>
</header>
- {{# flash }}<div class="flash {{ .name() }}">{{ .msg() }}</div>{{/ flash }}
+ {{# flash }}
+ <div class="flash {{ .name() }}">
+ {{ .msg() }}
+ </div>
+ {{/ flash }}
{{{ content }}}
</body>
</html>