summaryrefslogtreecommitdiffstatshomepage
path: root/templates
diff options
context:
space:
mode:
authorWynn Wolf Arbor2020-07-15 10:49:20 +0200
committerWynn Wolf Arbor2020-07-15 10:49:20 +0200
commit4cc1d86beede1ff83f3abd8707ba8c8879ddab2a (patch)
tree4e1b4d33657167a0f3a92099961ddd0e8b8c0fdc /templates
parentcdfdf8a6ec49051733dba3d01d6c2f4033907ec1 (diff)
downloadsite-4cc1d86beede1ff83f3abd8707ba8c8879ddab2a.tar.gz
Remove .html file ending from linked posts
Caddy supports implied file extensions in 1.0 via the 'ext' directive, and in 2.0 via the 'try_files' directive. This feature has been enabled in the upstream web server for quite a while now, but the links were never updated to be cleaner.
Diffstat (limited to 'templates')
-rw-r--r--templates/atom.xml2
-rw-r--r--templates/index.xml2
2 files changed, 2 insertions, 2 deletions
diff --git a/templates/atom.xml b/templates/atom.xml
index 2f1de9f..179b3fe 100644
--- a/templates/atom.xml
+++ b/templates/atom.xml
@@ -6,6 +6,6 @@
<updated />
<id />
<entry data-sblg-entry="1" data-sblg-forall="1" data-sblg-content="1" data-sblg-altlink="1"
- data-sblg-altlink-fmt="https://oriole.systems/${sblg-base}.html" />
+ data-sblg-altlink-fmt="https://oriole.systems/${sblg-base}" />
</feed>
diff --git a/templates/index.xml b/templates/index.xml
index 54f2245..c9197c0 100644
--- a/templates/index.xml
+++ b/templates/index.xml
@@ -42,7 +42,7 @@
<nav data-sblg-nav="true" data-sblg-navcontent="true">
<article>
<time>${sblg-date}</time>
- <a href="${sblg-base}.html">${sblg-titletext}</a>
+ <a href="${sblg-base}">${sblg-titletext}</a>
</article>
</nav>
</main>