diff options
author | mjfernez <mjfernez@gmail.com> | 2021-06-08 11:18:04 -0400 |
---|---|---|
committer | mjfernez <mjfernez@gmail.com> | 2021-06-08 11:18:04 -0400 |
commit | 1409ff96cdfc4fd6176f36f60fbe86dde1b3b6e4 (patch) | |
tree | c731a0a825f1179fb186ff629213fc20158a9c90 /templates/index.html | |
parent | a4ef784946330abc6aed8e03accdf7541881df0f (diff) | |
download | ezcms-1409ff96cdfc4fd6176f36f60fbe86dde1b3b6e4.tar.gz |
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
Diffstat (limited to 'templates/index.html')
-rw-r--r-- | templates/index.html | 2 |
1 files changed, 1 insertions, 1 deletions
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 %} <h3>File Listing</h3> {% for f in files %} -<li><a href="{{ cur_dir }}{{ f }}">{{ f }}</a></li> +<li><a href="{{ cur_dir }}{{ f }}">{{ f.rstrip('!') }}</a></li> {% endfor %} {% endif %} |