mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-06-10 11:00:22 +00:00
pagekite: Drop ineffective base template
The base template simply tries to override the description and formats its differently. However, since the introduction of app-header.html, this was ineffective and did nothing because blocks from included templates can't be overridden, apparently. Also, the base template is being used only in template as all other templates either don't use it or have been removed since. Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org> Reviewed-by: Veiko Aasa <veiko17@disroot.org>
This commit is contained in:
parent
736e814477
commit
5b639884b6
@ -1,18 +0,0 @@
|
||||
{% extends "app.html" %}
|
||||
{% comment %}
|
||||
# SPDX-License-Identifier: AGPL-3.0-or-later
|
||||
{% endcomment %}
|
||||
|
||||
{% block description %}
|
||||
|
||||
<p>{{ description.0|safe }}</p>
|
||||
|
||||
<ul>
|
||||
{% for paragraph in description|slice:"1:6" %}
|
||||
<li>{{ paragraph|safe }}</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
|
||||
<p>{{ description|last|safe }}</p>
|
||||
|
||||
{% endblock %}
|
||||
@ -1,4 +1,4 @@
|
||||
{% extends "pagekite_base.html" %}
|
||||
{% extends "app.html" %}
|
||||
{% comment %}
|
||||
# SPDX-License-Identifier: AGPL-3.0-or-later
|
||||
{% endcomment %}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user