diff options
author | mjfernez <mjf@mjfer.net> | 2022-03-13 15:21:11 -0400 |
---|---|---|
committer | mjfernez <mjf@mjfer.net> | 2022-03-13 15:21:11 -0400 |
commit | 94f71d6f8fc7301dfd470ccf2fee27e078321a78 (patch) | |
tree | 4a6864a043f764dd01e9d5c288ebb70b9be45abb /views.py | |
parent | 150b9695fdb0ebfeca0f8d5b268249bea46ea3f3 (diff) | |
download | ezcms-94f71d6f8fc7301dfd470ccf2fee27e078321a78.tar.gz |
Pull changes from mjfer.net
This commit adds the changes from the mjfer.net which enable using git
as the file last update tracker
Diffstat (limited to 'views.py')
-rw-r--r-- | views.py | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -55,7 +55,7 @@ def render_file(path): { 'title': path.split('.')[0].upper(), 'parent_dir': '/' + '/'.join(path.split('/')[:-1]), - 'last_update': file_last_modified(abs_path) + 'last_update': file_last_modified(path), } ) if abs_path.endswith('.html'): @@ -134,6 +134,6 @@ def render_rss_feed(): feed = render_template("feed.xml", **context) response = make_response(feed) response.headers['Content-Type'] = str( - siteconfig.MIMETYPES.get(".xml") + siteconfig.MIMETYPES.get(".xml") ) return response |