mirror of
https://codeberg.org/catask-org/catask.git
synced 2025-04-19 05:13:41 -05:00
add fediverse verification setting
This commit is contained in:
parent
1631dbead0
commit
38ad32d2fb
2 changed files with 11 additions and 0 deletions
|
@ -10,6 +10,11 @@
|
|||
<input type="text" id="username" name="username" value="{{ cfg.username }}" class="form-control">
|
||||
<p class="form-text">{{ _('Your username') }}</p>
|
||||
</div>
|
||||
<div class="form-group mb-3">
|
||||
<label class="form-label" for="fediVerificationUrl">{{ _('Fediverse verification URL') }}</label>
|
||||
<input type="text" id="fediVerificationUrl" name="fediVerificationUrl" value="{{ cfg.fediVerificationUrl }}" class="form-control">
|
||||
<p class="form-text">{{ _('URL of your Fediverse profile') }}</p>
|
||||
</div>
|
||||
<div class="form-group mb-3">
|
||||
<label class="form-label" for="charLimit">{{ _('Question character limit') }}</label>
|
||||
<input type="number" id="charLimit" name="charLimit" value="{{ cfg.charLimit }}" class="form-control">
|
||||
|
|
|
@ -230,8 +230,14 @@
|
|||
|
||||
<!-- pwa manifest -->
|
||||
<link rel="manifest" href="{{ url_for('api.pwaManifest') }}" />
|
||||
|
||||
<script src="{{ url_for('static', filename='js/color-modes.js') }}"></script>
|
||||
|
||||
{% if cfg.fediVerificationUrl %}
|
||||
<!-- fediverse verification url -->
|
||||
<link href="{{ cfg.fediVerificationUrl }}" rel="me">
|
||||
{% endif %}
|
||||
|
||||
{% block additionalHeadItems %}{% endblock %}
|
||||
<script src="{{ url_for('static', filename='js/htmx.min.js') }}"></script>
|
||||
<title>{% block title %}{% endblock %} | {{ cfg.instance.title }}</title>
|
||||
|
|
Loading…
Add table
Reference in a new issue