Commit 20306386db3528f82992369749aeccefb2b934c9
1 parent
c9e910a1
Exists in
master
and in
1 other branch
Fixed base_url link.
Showing
1 changed file
with
2 additions
and
2 deletions
Show diff stats
src/web/templates/layout.html
| 1 | 1 | $def with (content) |
| 2 | -$ url_base = "http://localhost:8080" | |
| 2 | +$ url_base = "/" | |
| 3 | 3 | <!--Force IE6 into quirks mode with this comment tag--> |
| 4 | 4 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" |
| 5 | 5 | "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
| ... | ... | @@ -166,7 +166,7 @@ $:content |
| 166 | 166 | <div id="navbar"> |
| 167 | 167 | <ul> |
| 168 | 168 | <li><a href="$url_base">Home</a></li> |
| 169 | - <li><a href="$url_base/about">About</a></li> | |
| 169 | + <li><a href="$(url_base)about">About</a></li> | |
| 170 | 170 | <li><a href="http://github.com/tassia/AppRecommender">Development</a></li> |
| 171 | 171 | </ul> |
| 172 | 172 | </div><!-- id="navbar" --> | ... | ... |