summaryrefslogtreecommitdiff
path: root/roles/rss-aggregator/templates
diff options
context:
space:
mode:
Diffstat (limited to 'roles/rss-aggregator/templates')
-rw-r--r--roles/rss-aggregator/templates/header.html10
-rw-r--r--roles/rss-aggregator/templates/rss-aggregator.toml12
2 files changed, 22 insertions, 0 deletions
diff --git a/roles/rss-aggregator/templates/header.html b/roles/rss-aggregator/templates/header.html
new file mode 100644
index 0000000..1e6ee30
--- /dev/null
+++ b/roles/rss-aggregator/templates/header.html
@@ -0,0 +1,10 @@
+<nav>
+ <ul>
+ <li>
+ <a href=/>Home</a>
+ </li>
+ <li>
+ <a href=/{{ feed_rss_path }}>RSS</a>
+ </li>
+ </ul>
+</nav>
diff --git a/roles/rss-aggregator/templates/rss-aggregator.toml b/roles/rss-aggregator/templates/rss-aggregator.toml
index 22a8f72..2812605 100644
--- a/roles/rss-aggregator/templates/rss-aggregator.toml
+++ b/roles/rss-aggregator/templates/rss-aggregator.toml
@@ -1,3 +1,15 @@
+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"]
+
+[output.html]
+head = "{{ feed_html_head }}"
+header = "{{ feed_html_header }}"