From 6c688bb879a0c9c14dfdcdad68fbe8de67f13486 Mon Sep 17 00:00:00 2001 From: Ayo Date: Sat, 6 Jun 2026 11:43:09 +0200 Subject: [PATCH] feat: implement 'advisory' config property --- example_config.json | 3 ++- templates/_error.html | 3 +++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/example_config.json b/example_config.json index 0fb8862..ab7e06d 100644 --- a/example_config.json +++ b/example_config.json @@ -6,7 +6,8 @@ "description": "Hand-picked public posts from my social feed", "server": "https://social.ayco.io", "user_id": "0123456789", - "max_summary_length": 100 + "max_summary_length": 100, + "advisory": false } }, "ATTRIBUTION": { diff --git a/templates/_error.html b/templates/_error.html index 3792661..6f29638 100644 --- a/templates/_error.html +++ b/templates/_error.html @@ -162,6 +162,9 @@

Whoa!

+ {%if app.advisory is not false %} +

{{ app.advisory | safe }}

+ {% endif %}

{{message}}