feat: implement 'advisory' config property
This commit is contained in:
parent
a197760d19
commit
6c688bb879
2 changed files with 5 additions and 1 deletions
|
|
@ -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": {
|
||||
|
|
|
|||
|
|
@ -162,6 +162,9 @@
|
|||
</header>
|
||||
<main>
|
||||
<h3>Whoa!</h3>
|
||||
{%if app.advisory is not false %}
|
||||
<p>{{ app.advisory | safe }}</p>
|
||||
{% endif %}
|
||||
<p class="error-message">{{message}}</p>
|
||||
</main>
|
||||
<footer>
|
||||
|
|
|
|||
Loading…
Reference in a new issue