Remove redundant template local
This commit is contained in:
parent
58c65a5bac
commit
8ad9b4e543
|
@ -13,7 +13,6 @@ function merge(locals, res) {
|
||||||
siteTitle: Config.get("html-template.title"),
|
siteTitle: Config.get("html-template.title"),
|
||||||
siteDescription: Config.get("html-template.description"),
|
siteDescription: Config.get("html-template.description"),
|
||||||
siteAuthor: "Calvin 'calzoneman' 'cyzon' Montgomery",
|
siteAuthor: "Calvin 'calzoneman' 'cyzon' Montgomery",
|
||||||
domain: res.req.header("host"),
|
|
||||||
loginDomain: Config.get("https.enabled") ? Config.get("https.full-address")
|
loginDomain: Config.get("https.enabled") ? Config.get("https.full-address")
|
||||||
: Config.get("http.full-address"),
|
: Config.get("http.full-address"),
|
||||||
csrfToken: typeof res.req.csrfToken === 'function' ? res.req.csrfToken() : '',
|
csrfToken: typeof res.req.csrfToken === 'function' ? res.req.csrfToken() : '',
|
||||||
|
|
|
@ -57,7 +57,7 @@ html(lang="en")
|
||||||
.form-group
|
.form-group
|
||||||
label.control-label(for="channelname") Channel URL
|
label.control-label(for="channelname") Channel URL
|
||||||
.input-group
|
.input-group
|
||||||
span.input-group-addon #{domain}/r/
|
span.input-group-addon #{baseUrl}/r/
|
||||||
input#channelname.form-control(type="text", name="name", maxlength="30", onkeyup="checkChannel()")
|
input#channelname.form-control(type="text", name="name", maxlength="30", onkeyup="checkChannel()")
|
||||||
p#validate_channel.text-danger.pull-right
|
p#validate_channel.text-danger.pull-right
|
||||||
button#register.btn.btn-primary.btn-block(type="submit") Register
|
button#register.btn.btn-primary.btn-block(type="submit") Register
|
||||||
|
|
Loading…
Reference in a new issue