feat: hide no-js page link from faq if disabled

This commit is contained in:
Bobby 2022-09-21 05:55:26 +07:00
parent 0cb02a5c6c
commit ff6bb9dacb
No known key found for this signature in database
GPG Key ID: 941839794CBF5A09

View File

@ -202,12 +202,14 @@
</div> </div>
</article> </article>
{% if config.routes.nojs !== false -%}
<h3 class="subtitle has-text-white-ter">Do you have a No-JS uploader form?</h3> <h3 class="subtitle has-text-white-ter">Do you have a No-JS uploader form?</h3>
<article class="message"> <article class="message">
<div class="message-body"> <div class="message-body">
<a href="nojs" target="_blank"><strong>Yes!</strong></a> <a href="nojs" target="_blank"><strong>Yes!</strong></a>
</div> </div>
</article> </article>
{%- endif %}
{% if noJsMaxSizeInt and chunkSizeInt -%} {% if noJsMaxSizeInt and chunkSizeInt -%}
<h3 class="subtitle has-text-white-ter">Why is the maximum file size in the No-JS uploader form smaller?</h3> <h3 class="subtitle has-text-white-ter">Why is the maximum file size in the No-JS uploader form smaller?</h3>