summaryrefslogtreecommitdiff
path: root/app/posts/templates
diff options
context:
space:
mode:
authorluxagraf <sng@luxagraf.net>2020-11-15 10:13:08 -0500
committerluxagraf <sng@luxagraf.net>2020-11-15 10:13:08 -0500
commit7509da286bccd1dda358507cd455f9297db59247 (patch)
tree779aa3660e453d73268d22a72d9a5599cc94aa02 /app/posts/templates
parentb2434dcba142961b4a4b67780cf64e01d0908bf5 (diff)
ported jrnl building to posts
Diffstat (limited to 'app/posts/templates')
-rw-r--r--app/posts/templates/posts/jrnl_detail.txt2
-rw-r--r--app/posts/templates/posts/jrnl_latest.html6
2 files changed, 7 insertions, 1 deletions
diff --git a/app/posts/templates/posts/jrnl_detail.txt b/app/posts/templates/posts/jrnl_detail.txt
index 547ce79..a608b88 100644
--- a/app/posts/templates/posts/jrnl_detail.txt
+++ b/app/posts/templates/posts/jrnl_detail.txt
@@ -2,7 +2,7 @@
{% for letter in object.title %}={%endfor%}
by Scott Gilbertson
- <{{SITE_URL}}{{object.get_absolute_url}}>
+ <https://luxagraf.net{{object.get_absolute_url}}>
{{object.pub_date|date:"l, d F Y"}}
{{object.body_markdown|safe}}
diff --git a/app/posts/templates/posts/jrnl_latest.html b/app/posts/templates/posts/jrnl_latest.html
new file mode 100644
index 0000000..03e3c56
--- /dev/null
+++ b/app/posts/templates/posts/jrnl_latest.html
@@ -0,0 +1,6 @@
+{% extends "base.html" %}
+{% block js %}
+<script>
+window.location="{{object.get_absolute_url}}";
+</script>
+{% endblock %}