]> git.mxchange.org Git - fba.git/commitdiff
Fix bug with homepage showing up instead of empty result
authorMint <>
Wed, 30 Nov 2022 20:20:39 +0000 (23:20 +0300)
committerMint <>
Wed, 30 Nov 2022 20:20:39 +0000 (23:20 +0300)
index.html

index a6198ee61a9807a8d254b514b99a5fbfb2ab2d01..a8eae20d879f9e2a64d4d928eab55044ee6d1349 100644 (file)
                 {% endfor %}
             </table>
         </div>
-    {% elif reason or blocks or reverse %}
+    {% elif reason or domain or reverse %}
         {% if reason %}
             <h1>Instances that use "{{reason}}" in their reason</h1>
         {% elif reverse %}
             <h1>Instances that are blocked by {{reverse}}</h1>
-        {% elif blocks %}
+        {% elif domain %}
             <h1>Instances that block {{domain}}</h1>
         {% endif %}
         {% for block_level in blocks %}
             known instances: {{info.known_instances}}<br/>
             indexed instances: {{info.indexed_instances}}<br/>
             blocks recorded: {{info.blocks_recorded}}<br/>
-            source code: <a href="https://git.kiwifarms.net/mint/fedi-block-api">git.kiwifarms.net/mint/fedi-block-api</a> (<a href="https://gitgud.io/mintplg/fedi-block-api">mirror</a>)<br/>
+            source code: <a href="https://git.kiwifarms.net/mint/fedi-block-api">git.kiwifarms.net/mint/fedi-block-api</a> (<a href="https://gitgud.io/mintplg/fedi-block-api">mirror</a>)<br/><br/>
             fuck jannies<br/>
             #FreeMyNigga
         </div>