mirror of
https://github.com/BobbyWibowo/lolisafe.git
synced 2024-12-13 07:56:23 +00:00
13 lines
477 B
Plaintext
13 lines
477 B
Plaintext
{#
|
|
To conform with standard, put <noscript> for <meta http-equiv> inside <head>.
|
|
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta
|
|
And may as well put <style> tag here, just in case.
|
|
#}
|
|
<noscript>
|
|
<style>body > section:not(#noscript) { display: none !important; }</style>
|
|
{% if noscriptRefreshUrl !== null -%}
|
|
<!-- Redirect after 3 seconds -->
|
|
<meta http-equiv="refresh" content="3;url={{ noscriptRefreshUrl or 'nojs' }}">
|
|
{%- endif %}
|
|
</noscript>
|