aboutsummaryrefslogtreecommitdiffstats
path: root/templates/layout.html
diff options
context:
space:
mode:
authorHarald Eilertsen <haraldei@anduin.net>2018-01-14 23:21:10 +0100
committerHarald Eilertsen <haraldei@anduin.net>2018-01-14 23:21:10 +0100
commitbf2e515855ffa04c8884a14c872001dd378d673e (patch)
treed515bdac9671e7675453b3d7b157b5a521fff21f /templates/layout.html
parentd4d23a484dac966e83b625edcaa867c0f3137b5e (diff)
downloadrocket-blog-bf2e515855ffa04c8884a14c872001dd378d673e.tar.gz
rocket-blog-bf2e515855ffa04c8884a14c872001dd378d673e.tar.bz2
rocket-blog-bf2e515855ffa04c8884a14c872001dd378d673e.zip
Add flash messages when adding/editing/deleting posts.
Diffstat (limited to 'templates/layout.html')
-rw-r--r--templates/layout.html1
1 files changed, 1 insertions, 0 deletions
diff --git a/templates/layout.html b/templates/layout.html
index b9c2046..caf41de 100644
--- a/templates/layout.html
+++ b/templates/layout.html
@@ -8,6 +8,7 @@
<header class="page-header">
<h1>{{ title }}</title>
</header>
+ {{#flash}}<div class="flash">{{ . }}</div>{{/flash}}
{{{ content }}}
</body>
</html>