Adds donation link to the instance

Check yotter-config.json
This commit is contained in:
pluja 2020-09-26 14:40:30 +02:00
parent 30ab9183bb
commit 836f50aaad
2 changed files with 9 additions and 3 deletions

View File

@ -101,8 +101,13 @@
<div class="ui segment"> <div class="ui segment">
<p><b>Server location:</b> {{config.serverLocation}}</p> <p><b>Server location:</b> {{config.serverLocation}}</p>
</div> </div>
{% if config.donate_url %}
<div class="ui segment"> <div class="ui segment">
<p><a href="https://github.com/pluja/Yotter#donate">Consider making a donation</a></p> <p><a href="{{config.donate_url}}">Consider making a donation to the instance</a></p>
</div>
{% endif %}
<div class="ui segment">
<p><a href="https://github.com/pluja/Yotter#donate">Donate to the Yotter developer</a></p>
</div> </div>
</div> </div>
</div> </div>

View File

@ -1,7 +1,7 @@
{ {
"serverName": "yotter.xyz", "serverName": "yotter.xyz",
"nitterInstance": "https://nitter.net/", "nitterInstance": "https://nitter.net/",
"maxInstanceUsers": 60, "maxInstanceUsers": 100,
"serverLocation": "Germany", "serverLocation": "Germany",
"restrictPublicUsage":true, "restrictPublicUsage":true,
"nginxVideoStream":true, "nginxVideoStream":true,
@ -10,5 +10,6 @@
"admin_message_title":"Message from the admin", "admin_message_title":"Message from the admin",
"admin_message":"Message from the admin text", "admin_message":"Message from the admin text",
"admin_user":"admin_username", "admin_user":"admin_username",
"max_old_user_days": 60 "max_old_user_days": 60,
"donate_url": ""
} }