Remove redundant template local

This commit is contained in:
Calvin Montgomery 2017-06-05 18:57:04 -07:00
parent 58c65a5bac
commit 8ad9b4e543
2 changed files with 1 additions and 2 deletions

View File

@ -13,7 +13,6 @@ function merge(locals, res) {
siteTitle: Config.get("html-template.title"),
siteDescription: Config.get("html-template.description"),
siteAuthor: "Calvin 'calzoneman' 'cyzon' Montgomery",
domain: res.req.header("host"),
loginDomain: Config.get("https.enabled") ? Config.get("https.full-address")
: Config.get("http.full-address"),
csrfToken: typeof res.req.csrfToken === 'function' ? res.req.csrfToken() : '',

View File

@ -57,7 +57,7 @@ html(lang="en")
.form-group
label.control-label(for="channelname") Channel URL
.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()")
p#validate_channel.text-danger.pull-right
button#register.btn.btn-primary.btn-block(type="submit") Register