summaryrefslogtreecommitdiff
path: root/src/templates/macros/noticebox.ftl
diff options
context:
space:
mode:
authorJesse Morgan <jesse@jesterpm.net>2013-06-03 17:46:53 -0700
committerJesse Morgan <jesse@jesterpm.net>2013-06-03 17:46:53 -0700
commitf771e74c3867c2e16d0c9d5187a2e115345b9048 (patch)
tree1b7970cd47c5051e7b6a876153ef33971338c8fe /src/templates/macros/noticebox.ftl
parent736448b60c4a61c9eae62efe7a191a8f13c18b55 (diff)
Adding a content root variable to the templates.
The content root is used to specify the location of the static content. It is currently hard-coded to my desktop, but it will be updated after a config system is introduced.
Diffstat (limited to 'src/templates/macros/noticebox.ftl')
-rw-r--r--src/templates/macros/noticebox.ftl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/templates/macros/noticebox.ftl b/src/templates/macros/noticebox.ftl
index e1d75a5..43c36c3 100644
--- a/src/templates/macros/noticebox.ftl
+++ b/src/templates/macros/noticebox.ftl
@@ -1,7 +1,7 @@
<#macro noticebox>
<div id="middlebar">
<div id="noticebox">
- <img class="icon" src="../images/noticeicon.png">
+ <img class="icon" src="${contentroot}/images/noticeicon.png">
<p>
<#nested>
</p>