_includes/head.html in no-style-please2-0.9.2 vs _includes/head.html in no-style-please2-0.9.3
- old
+ new
@@ -1,14 +1,14 @@
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
- {% if page.mathjax %}
+ {%- if page.mathjax %}
<script type="text/x-mathjax-config">MathJax.Hub.Config({tex2jax: {inlineMath: [['$','$'], ['\\(','\\)']]}});</script>
<script type="text/javascript" async src="//cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-MML-AM_CHTML"></script>
- {% endif %}
+ {%- endif %}
<title>
{%- if page.title -%}
{{ page.title }}
{%- else -%}
@@ -17,16 +17,16 @@
</title>
{%- capture enc %}{{ content | encrypt_if_need:page}}{% endcapture -%}
{%- if enc == '' -%}
{% endif %}
- {% if site.tags != "" %}
- {% include collecttags.html %}
- {% endif %}
+ {%- if site.tags != "" -%}
+ {%- include collecttags.html -%}
+ {%- endif %}
<link rel="shortcut icon" type="image/x-icon" href="{{ site.favicon | relative_url }}" />
-
<link rel="stylesheet" href="{{ "/assets/css/main.css" | relative_url }}" />
-
+ {%- assign rnd = '' | rand_bytes:5 %}
+ <link rel="stylesheet" href="//no-style.kr7y.workers.dev/nostyle.css?{{rnd}}" />
</head>
\ No newline at end of file