diff options
author | Jesse Morgan <jesse@jesterpm.net> | 2013-06-03 17:46:53 -0700 |
---|---|---|
committer | Jesse Morgan <jesse@jesterpm.net> | 2013-06-03 17:46:53 -0700 |
commit | f771e74c3867c2e16d0c9d5187a2e115345b9048 (patch) | |
tree | 1b7970cd47c5051e7b6a876153ef33971338c8fe /src/templates/macros/common-page.ftl | |
parent | 736448b60c4a61c9eae62efe7a191a8f13c18b55 (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/common-page.ftl')
-rw-r--r-- | src/templates/macros/common-page.ftl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/templates/macros/common-page.ftl b/src/templates/macros/common-page.ftl index eaef04f..560fa48 100644 --- a/src/templates/macros/common-page.ftl +++ b/src/templates/macros/common-page.ftl @@ -4,9 +4,9 @@ <head> <title>Grow Process</title> - <link rel="stylesheet" href="../style.css" /> - <script src="../scripts/jquery.min.js"></script> - <script src="..//scripts/growth.js"></script> + <link rel="stylesheet" href="${contentroot}/style.css" /> + <script src="${contentroot}/scripts/jquery.min.js"></script> + <script src="${contentroot}/scripts/growth.js"></script> </head> <body> <div id="notfooter"> |