From 1409ff96cdfc4fd6176f36f60fbe86dde1b3b6e4 Mon Sep 17 00:00:00 2001 From: mjfernez Date: Tue, 8 Jun 2021 11:18:04 -0400 Subject: Added ability to override templates. This commit primarily adds the ability to override the base template by adding a '!' on HTML files. It also makes adjustments to the index page display to not show this extra character. Additions to the README reflecting this change, as well as small note on similarity to neocities was added --- templates/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'templates/index.html') diff --git a/templates/index.html b/templates/index.html index 7e815e2..4bbad1d 100644 --- a/templates/index.html +++ b/templates/index.html @@ -13,7 +13,7 @@ {% if files %}

File Listing

{% for f in files %} -
  • {{ f }}
  • +
  • {{ f.rstrip('!') }}
  • {% endfor %} {% endif %} -- cgit v1.2.3