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
|
||||
.container
|
||||
a.navbar-brand(href="index.html") tlater
|
||||
a.navbar-brand(href="{{ url_for('index') }}") tlater
|
||||
button.navbar-toggler(
|
||||
type="button",
|
||||
data-toggle="collapse",
|
||||
|
@ -13,5 +13,5 @@ nav.navbar.navbar-expand-lg.navbar-dark.bg-dark
|
|||
|
||||
#navbar.navbar-collapse.collapse
|
||||
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
|
||||
|
|
|
@ -6,7 +6,7 @@ block content
|
|||
.row
|
||||
//- The form
|
||||
.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
|
||||
.form-group
|
||||
label.control-label(for="mail") Email address
|
||||
|
|
Reference in a new issue