diff --git a/src/lib/pug/navigation.pug b/src/lib/pug/navigation.pug index 7adc24e..e3b36e9 100644 --- a/src/lib/pug/navigation.pug +++ b/src/lib/pug/navigation.pug @@ -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 diff --git a/src/mail/mail.pug b/src/mail/mail.pug index 9a5fef0..71c4a4d 100644 --- a/src/mail/mail.pug +++ b/src/mail/mail.pug @@ -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