Make source_url and issues_url optional and adapt content if not set

This commit is contained in:
David Lapshin
2024-05-21 16:23:18 +03:00
parent 39d75b08c7
commit b32c51b71a
3 changed files with 8 additions and 4 deletions

View File

@ -105,6 +105,8 @@
<p class="dialog-buttons">
<a class="inline-button" href="#top">Go to Top</a>
<a class="inline-button colored" href="{{ config.extra.issues_url }}">File an Issue</a>
{% if config.extra.issues_url %}
<a class="inline-button colored" href="{{ config.extra.issues_url }}">File an Issue</a>
{% endif %}
</p>
{% endblock content %}