diff options
| author | mjfernez <mjfernez@gmail.com> | 2021-10-14 20:14:53 -0400 | 
|---|---|---|
| committer | mjfernez <mjfernez@gmail.com> | 2021-10-14 20:14:53 -0400 | 
| commit | c583a69362f86fcc8e1b35a45a06dd8377d6308f (patch) | |
| tree | 30609b89aa2781c95fc5c04ff96db3ab063e16e7 /templates/base.html | |
| parent | f7668243b7a55d1f69d508b3baaf891055715f63 (diff) | |
| download | ezcms-c583a69362f86fcc8e1b35a45a06dd8377d6308f.tar.gz | |
Adds RSS auto-generation for files in 'site'
This commit adds rss_generator.py which contains the main logic for
indexing the site directory and generating a feed on startup. It serves
as a sort of ad-hoc database which is accessed when /feed.xml is
requested.
Also corrects various typos, README nonsense, and expands the config
options for RSS. Instances of './templates/site' have been replaced with
the general BASE_DIR variable in the siteconfig.
Diffstat (limited to 'templates/base.html')
| -rw-r--r-- | templates/base.html | 2 | 
1 files changed, 2 insertions, 0 deletions
| diff --git a/templates/base.html b/templates/base.html index 6476091..5e71e6b 100644 --- a/templates/base.html +++ b/templates/base.html @@ -15,6 +15,8 @@          {% for dir in navbar %}          <b> <a href="/site/{{ dir }}">{{ dir }}/</a> |</b>          {% endfor %} +        <!-- Add icons here --> +        <a href="/feed.xml"><img src="/static/rss.svg"></a>          </div>          <h2>{{ title }}</h2>          <div class="content"> | 
