summaryrefslogtreecommitdiff
path: root/srv/src/api/tpl
diff options
context:
space:
mode:
authorBrian Picciano <mediocregopher@gmail.com>2022-05-17 13:52:18 -0600
committerBrian Picciano <mediocregopher@gmail.com>2022-05-17 13:52:18 -0600
commite742a2d6d5b75bce14a9be688c47c88807cfe94b (patch)
treea87e5e2fa64b88958d22a5ac58ca1b1c1cb85537 /srv/src/api/tpl
parent0fdece68c07836a566909d75a7f3836f229334b5 (diff)
Add BlogURL template function
Diffstat (limited to 'srv/src/api/tpl')
-rw-r--r--srv/src/api/tpl/base.html7
1 files changed, 4 insertions, 3 deletions
diff --git a/srv/src/api/tpl/base.html b/srv/src/api/tpl/base.html
index bf81032..6031919 100644
--- a/srv/src/api/tpl/base.html
+++ b/srv/src/api/tpl/base.html
@@ -18,7 +18,7 @@
<div class="row">
<div class="seven columns" style="margin-bottom: 3rem;">
<h1 class="title">
- <a href="/">Mediocre Blog</a>
+ <a href="{{ BlogURL "/" }}">Mediocre Blog</a>
</h1>
<div class="light social">
<span>By Brian Picciano</span>
@@ -31,13 +31,14 @@
<div class="five columns light">
<span style="display:block; margin-bottom:0.5rem;">Get notified when new posts are published!</span>
- <a href="/follow.html">
+ <a href="{{ BlogURL "follow.html" }}">
<button class="button-primary">
<i class="far fa-envelope"></i>
Follow
</button>
</a>
- <a href="/feed.xml">
+
+ <a href="{{ BlogURL "feed.xml" }}">
<button class="button">
<i class="fas fa-rss"></i>
RSS