Twig3: templates - change filter tag to apply tag

This commit is contained in:
towards-a-new-leftypol 2023-08-03 16:50:43 -04:00
parent 3d48ccf7e2
commit e7de262d71
18 changed files with 36 additions and 36 deletions

View File

@ -1,4 +1,4 @@
{% filter remove_whitespace %}
{% apply remove_whitespace %}
{# Automatically removes unnecessary whitespace #}
<div class="ban">
<iframe width="420" height="315" src="https://www.youtube.com/embed/FXPKJUE86d0" frameborder="0" allowfullscreen></iframe>
@ -142,4 +142,4 @@
{% endif %}
{% endif %}
</div>
{% endfilter %}
{% endapply %}

View File

@ -1,7 +1,7 @@
{% filter remove_whitespace %}
{% apply remove_whitespace %}
{# Automatically removes unnecessary whitespace #}
<div class="ban">
<h2>You are not banned!</h2>
<p class="reason">Well done on not being terrible!</p>
</div>
{% endfilter %}
{% endapply %}

View File

@ -1,4 +1,4 @@
{% filter remove_whitespace %}
{% apply remove_whitespace %}
{# tabs and new lines will be ignored #}
{# we are intentionally breaking the thread_ID convention: the jses need to handle this case differently #}
@ -39,4 +39,4 @@
<a href="{{ post.root }}{{ board.dir }}{{ config.dir.res }}{{ link_for(post) }}">[{% trans %}Reply{% endtrans %}]</a>
</tr>
{% endfilter %}
{% endapply %}

View File

@ -1,4 +1,4 @@
{% filter remove_whitespace %}
{% apply remove_whitespace %}
<!doctype html>
<html>
<head>
@ -54,4 +54,4 @@
{% endverbatim %}</script>
</body>
</html>
{% endfilter %}
{% endapply %}

View File

@ -1,4 +1,4 @@
{% filter remove_whitespace %}
{% apply remove_whitespace %}
<!doctype html>
<html>
<head>
@ -105,4 +105,4 @@
{% endverbatim %}</script>
</body>
</html>
{% endfilter %}
{% endapply %}

View File

@ -1,4 +1,4 @@
{% filter remove_whitespace %}
{% apply remove_whitespace %}
<div class="introduction">
<style style="display:none;">
.home-logo {
@ -107,5 +107,5 @@
<br><b>Leftychan.net is not currently under investigation by any Federal, State, or Local Authorities.</b></p>
</footer>
</div>
{% endfilter %}
{% endapply %}

View File

@ -1,4 +1,4 @@
{% filter remove_whitespace %}
{% apply remove_whitespace %}
<div class="sidebar">
<fieldset>
<legend>{{ settings.title }}</legend>
@ -45,4 +45,4 @@
{% endfor %}
</div>
{% endfilter %}
{% endapply %}

View File

@ -1,4 +1,4 @@
{% filter remove_whitespace %}
{% apply remove_whitespace %}
<!DOCTYPE html>
<html>
<head>
@ -58,4 +58,4 @@
</body>
</html>
{% endfilter %}
{% endapply %}

View File

@ -1,4 +1,4 @@
{% filter remove_whitespace %}
{% apply remove_whitespace %}
<!doctype html>
<html>
<head>
@ -157,5 +157,5 @@
{% endverbatim %}</script>
</body>
</html>
{% endfilter %}
{% endapply %}

View File

@ -1,4 +1,4 @@
{% filter remove_whitespace %}
{% apply remove_whitespace %}
<!doctype html>
<html>
<head>
@ -38,4 +38,4 @@
</footer>
</body>
</html>
{% endfilter %}
{% endapply %}

View File

@ -1,4 +1,4 @@
{% filter remove_whitespace %}
{% apply remove_whitespace %}
<!doctype html>
<html>
<head>
@ -38,4 +38,4 @@
</fieldset>
</body>
</html>
{% endfilter %}
{% endapply %}

View File

@ -1,4 +1,4 @@
{% filter remove_whitespace %}
{% apply remove_whitespace %}
<!DOCTYPE html>
<html>
<head>
@ -32,4 +32,4 @@
{% endverbatim %}</script>
</body>
</html>
{% endfilter %}
{% endapply %}

View File

@ -1,4 +1,4 @@
{% filter remove_whitespace %}
{% apply remove_whitespace %}
<!doctype html>
<html>
<head>
@ -98,4 +98,4 @@
</div>
</body>
</html>
{% endfilter %}
{% endapply %}

View File

@ -1,4 +1,4 @@
{% filter remove_whitespace %}
{% apply remove_whitespace %}
<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:dc="http://purl.org/dc/elements/1.1/"
version="2.0">
@ -25,4 +25,4 @@
{% endfor %}
</channel>
</rss>
{% endfilter %}
{% endapply %}

View File

@ -1,4 +1,4 @@
{% filter remove_whitespace %}
{% apply remove_whitespace %}
<!DOCTYPE html>
<html>
<head>
@ -31,5 +31,5 @@
{% endverbatim %}</script>
</body>
</html>
{% endfilter %}
{% endapply %}

View File

@ -1,4 +1,4 @@
{% filter remove_whitespace %}
{% apply remove_whitespace %}
<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
{% for board in boards %}
@ -16,4 +16,4 @@
{% endfor %}
{% endfor %}
</urlset>
{% endfilter %}
{% endapply %}

View File

@ -1,4 +1,4 @@
{% filter remove_whitespace %}
{% apply remove_whitespace %}
<!doctype html>
<html>
<head>
@ -77,4 +77,4 @@
{% endverbatim %}</script>
</body>
</html>
{% endfilter %}
{% endapply %}

View File

@ -1,4 +1,4 @@
{% filter remove_whitespace %}
{% apply remove_whitespace %}
<!DOCTYPE html>
<html>
<head>
@ -68,4 +68,4 @@
</div>
</body>
</html>
{% endfilter %}
{% endapply %}