Use arguments to force Browser to reload changed files

This commit is contained in:
Michael Fabian 'Xaymar' Dirks
2021-12-24 20:21:36 +01:00
parent c27a4635ee
commit 49d8936783
2 changed files with 7 additions and 7 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
</div>
</body>
<script src="{{ site.xaymar.data.js | absolute_url }}"></script>
<script src="{{ site.xaymar.data.js | absolute_url }}?timestamp={{ site.time | date_to_xmlschema }}"></script>
</html>
+6 -6
View File
@@ -33,18 +33,18 @@
{% endif %}
<meta property="og:type" content="{{ page.opengraph.type | default: "website" }}" />
{% if page.opengraph.image != nil %}
<meta property="og:image" content="{{ page.opengraph.image | absolute_url }}" />
<meta property="og:image" content="{{ page.opengraph.image | absolute_url }}?timestamp={{ page.date | default: site.time | date_to_xmlschema }}" />
{% else %}
<meta property="og:image" content="{{ site.xaymar.data.logo | absolute_url }}" />
<meta property="og:image" content="{{ site.xaymar.data.logo | absolute_url }}?timestamp={{ site.time | date_to_xmlschema }}" />
{% endif %}
{% if page.opengraph.audio != nil %}
<meta property="og:audio" content="{{ page.audio }}" />
<meta property="og:audio" content="{{ page.audio | absolute_url }}?timestamp={{ page.date | default: site.time | date_to_xmlschema }}" />
{% endif %}
{% if page.opengraph.video != nil %}
<meta property="og:video" content="{{ page.video }}" />
<meta property="og:video" content="{{ page.video | absolute_url }}?timestamp={{ page.date | default: site.time | date_to_xmlschema }}" />
{% endif %}
<meta property="article:published_time" content="{{ page.date | default: site.time | date_to_xmlschema }}" />
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="icon" href="{{ site.xaymar.data.logo | absolute_url }}">
<link rel="stylesheet" href="{{ site.xaymar.data.css | absolute_url }}">
<link rel="icon" href="{{ site.xaymar.data.logo | absolute_url }}?timestamp={{ site.time | date_to_xmlschema }}">
<link rel="stylesheet" href="{{ site.xaymar.data.css | absolute_url }}?timestamp={{ site.time | date_to_xmlschema }}">
<link rel="alternate" type="application/rss+xml" href="{{ site.xaymar.data.rss | absolute_url }}">