From f671eda1a8c89910647b745de61cb07976dc1b4b Mon Sep 17 00:00:00 2001 From: Joe Carstairs Date: Wed, 30 Sep 2026 17:12:13 +0100 Subject: scag update (now jamdog) --- roles/jamdog/templates/header.html | 10 ++++++++++ roles/jamdog/templates/jamdog.toml | 16 ++++++++++++++++ roles/jamdog/templates/nginx/feed.conf | 4 ++++ 3 files changed, 30 insertions(+) create mode 100644 roles/jamdog/templates/header.html create mode 100644 roles/jamdog/templates/jamdog.toml create mode 100644 roles/jamdog/templates/nginx/feed.conf (limited to 'roles/jamdog/templates') diff --git a/roles/jamdog/templates/header.html b/roles/jamdog/templates/header.html new file mode 100644 index 0000000..1e6ee30 --- /dev/null +++ b/roles/jamdog/templates/header.html @@ -0,0 +1,10 @@ + diff --git a/roles/jamdog/templates/jamdog.toml b/roles/jamdog/templates/jamdog.toml new file mode 100644 index 0000000..9eafa6c --- /dev/null +++ b/roles/jamdog/templates/jamdog.toml @@ -0,0 +1,16 @@ +subscriptions_path = "subscriptions.txt" + +[feed] +title = "Stuff that Joe Carstairs wants to read" +description = "Stuff that Joe Carstairs wants to read" +url = "https://joeac.net/feed" + +[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 }}" diff --git a/roles/jamdog/templates/nginx/feed.conf b/roles/jamdog/templates/nginx/feed.conf new file mode 100644 index 0000000..6f650ba --- /dev/null +++ b/roles/jamdog/templates/nginx/feed.conf @@ -0,0 +1,4 @@ +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; +} -- cgit v1.2.3