Add jinja2 relative links to pages
This commit is contained in:
parent
c0fab723dc
commit
e248caab29
|
@ -1,6 +1,6 @@
|
||||||
nav.navbar.navbar-expand-lg.navbar-dark.bg-dark
|
nav.navbar.navbar-expand-lg.navbar-dark.bg-dark
|
||||||
.container
|
.container
|
||||||
a.navbar-brand(href="index.html") tlater
|
a.navbar-brand(href="{{ url_for('index') }}") tlater
|
||||||
button.navbar-toggler(
|
button.navbar-toggler(
|
||||||
type="button",
|
type="button",
|
||||||
data-toggle="collapse",
|
data-toggle="collapse",
|
||||||
|
@ -13,5 +13,5 @@ nav.navbar.navbar-expand-lg.navbar-dark.bg-dark
|
||||||
|
|
||||||
#navbar.navbar-collapse.collapse
|
#navbar.navbar-collapse.collapse
|
||||||
ul.navbar-nav.mr-auto
|
ul.navbar-nav.mr-auto
|
||||||
li.nav-item: a.nav-link(href="mail.html") E-Mail
|
li.nav-item: a.nav-link(href="{{ url_for('mail') }}") E-Mail
|
||||||
li.nav-item: a.nav-link(href="https://www.github.com/TLATER") GitHub
|
li.nav-item: a.nav-link(href="https://www.github.com/TLATER") GitHub
|
||||||
|
|
|
@ -6,7 +6,7 @@ block content
|
||||||
.row
|
.row
|
||||||
//- The form
|
//- The form
|
||||||
.col-md-6
|
.col-md-6
|
||||||
form#sendmail(role="form", action="/api/mail", method="post")
|
form#sendmail(role="form", action="{{ url_for('mail') }}", method="post")
|
||||||
//- The sender address
|
//- The sender address
|
||||||
.form-group
|
.form-group
|
||||||
label.control-label(for="mail") Email address
|
label.control-label(for="mail") Email address
|
||||||
|
|
Reference in a new issue