diff options
Diffstat (limited to 'roles/rss-aggregator/templates')
| -rw-r--r-- | roles/rss-aggregator/templates/header.html | 15 | ||||
| -rw-r--r-- | roles/rss-aggregator/templates/nginx/feed.conf | 4 | ||||
| -rw-r--r-- | roles/rss-aggregator/templates/rss-aggregator.toml | 16 |
3 files changed, 0 insertions, 35 deletions
diff --git a/roles/rss-aggregator/templates/header.html b/roles/rss-aggregator/templates/header.html deleted file mode 100644 index 7b7249b..0000000 --- a/roles/rss-aggregator/templates/header.html +++ /dev/null @@ -1,15 +0,0 @@ -<nav> - <ul> - <li> - <a href=/>Home</a> - </li> - <li> - <a href=/{{ feed_rss_path }}>RSS</a> - </li> - </ul> -</nav> - -<script type="module"> -import { addExpandItemButtons } from '/scripts/feed-condense-content.js'; -addExpandItemButtons(); -</script> diff --git a/roles/rss-aggregator/templates/nginx/feed.conf b/roles/rss-aggregator/templates/nginx/feed.conf deleted file mode 100644 index 6f650ba..0000000 --- a/roles/rss-aggregator/templates/nginx/feed.conf +++ /dev/null @@ -1,4 +0,0 @@ -location /feed { - root {{ http_files_dir }}/feed; - try_files $uri $uri.xml $uri.rss $uri.atom $uri.rss.xml $uri.html $uri/index.html $uri.php $uri/index.php =404; -} diff --git a/roles/rss-aggregator/templates/rss-aggregator.toml b/roles/rss-aggregator/templates/rss-aggregator.toml deleted file mode 100644 index 1b408f6..0000000 --- a/roles/rss-aggregator/templates/rss-aggregator.toml +++ /dev/null @@ -1,16 +0,0 @@ -subscriptions_path = "subscriptions.txt" - -[channel] -title = "Stuff that Joe Carstairs wants to read" -description = "Stuff that Joe Carstairs wants to read" -link = "https://joeac.net/{{ feed_rss_path }}" - -[output] -outfile_rss = "{{ http_files_dir }}/feed/{{ feed_rss_path }}" -outfile_html = "{{ http_files_dir }}/feed/{{ feed_html_path }}" -produce_formats = ["html", "rss"] -max_age = 31 - -[output.html] -head = "{{ feed_html_head }}" -header = "{{ feed_html_header }}" |
