summaryrefslogtreecommitdiffstats
path: root/client/components/main/layouts.jade
diff options
context:
space:
mode:
authorMaxime Quandalle <maxime@quandalle.com>2015-10-08 23:25:04 +0200
committerMaxime Quandalle <maxime@quandalle.com>2015-10-08 23:28:27 +0200
commita78debc461944f55de246db15a1dd29353dec4ae (patch)
treee49b55895c5376c613dcc3512d56a5d89246b095 /client/components/main/layouts.jade
parentc804813e5f5fdffb8a7deca72737b65f052ea28a (diff)
downloadwekan-a78debc461944f55de246db15a1dd29353dec4ae.tar.gz
wekan-a78debc461944f55de246db15a1dd29353dec4ae.tar.bz2
wekan-a78debc461944f55de246db15a1dd29353dec4ae.zip
Support app deployment under a path prefix
Fixes #133
Diffstat (limited to 'client/components/main/layouts.jade')
-rw-r--r--client/components/main/layouts.jade6
1 files changed, 5 insertions, 1 deletions
diff --git a/client/components/main/layouts.jade b/client/components/main/layouts.jade
index f5a8db59..166f143a 100644
--- a/client/components/main/layouts.jade
+++ b/client/components/main/layouts.jade
@@ -2,12 +2,16 @@ head
title Wekan
meta(name="viewport"
content="maximum-scale=1.0,width=device-width,initial-scale=1.0,user-scalable=0")
+ //- XXX We should use pathFor in the following `href` to support the case
+ where the application is deployed with a path prefix, but it seems to be
+ difficult to do that cleanly with Blaze -- at least without adding extra
+ packages.
link(rel="shortcut icon" href="/wekan-favicon.png")
template(name="userFormsLayout")
section.auth-layout
h1.at-form-landing-logo
- img(src="/wekan-logo.png" alt="Wekan")
+ img(src="{{pathFor '/wekan-logo.png'}}" alt="Wekan")
+Template.dynamic(template=content)
template(name="defaultLayout")