Make source_url and issues_url optional and adapt content if not set
This commit is contained in:
@ -8,10 +8,12 @@
|
||||
|
||||
<h1>Page Not Found</h1>
|
||||
|
||||
<p>The requested page could not be found. If you feel this is not normal, then you can create an issue on the issue tracker.</p>
|
||||
<p>The requested page could not be found.{% if config.extra.issues_url %} If you feel this is not normal, then you can create an issue on the issue tracker.{% endif %}</p>
|
||||
|
||||
<p class="dialog-buttons">
|
||||
<a onclick="window.history.go(-1)" class="inline-button">Go Back</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 %}
|
||||
|
Reference in New Issue
Block a user