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/rss-aggregator.toml | 13 |
2 files changed, 28 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..7b7249b --- /dev/null +++ b/roles/rss-aggregator/templates/header.html @@ -0,0 +1,15 @@ +<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/rss-aggregator.toml b/roles/rss-aggregator/templates/rss-aggregator.toml index 22a8f72..1b408f6 100644 --- a/roles/rss-aggregator/templates/rss-aggregator.toml +++ b/roles/rss-aggregator/templates/rss-aggregator.toml @@ -1,3 +1,16 @@ +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 }}" |
