Commit e8ca300c authored by Eric Poirier's avatar Eric Poirier
Browse files

Use unix timestamp to update the CSS and JS


Signed-off-by: Eric Poirier's avatarEric Poirier <eric.poirier@eclipse-foundation.org>
parent 58c9551b
Pipeline #4428 passed with stage
<!-- Placed at the end of the document so the pages load faster -->
{{- with .Site.Params.js | default "https://www.eclipse.org/eclipse.org-common/themes/solstice/public/javascript/main.min.js"}}
<script src="{{ . | relURL }}"></script>
<script src="{{ . | relURL }}?v={{ now.Unix }}"></script>
{{ end }}
{{- with .Site.Params.hugo_js }}
......@@ -42,4 +42,4 @@
});
}
})(eclipseFdnAdopters);
</script>
\ No newline at end of file
</script>
<!--
<!--
Copyright (c) 2018 Eclipse Foundation, Inc.
This program and the accompanying materials are made available under the
......@@ -63,7 +63,7 @@
{{ end }}
{{ if ne .Page.Params.disable_css "true" }}
{{- with .Site.Params.styles | default "https://eclipse.org/eclipse.org-common/themes/solstice/public/stylesheets/quicksilver.min.css" }}
<link rel="stylesheet" href="{{ . | relURL }}">
<link rel="stylesheet" href="{{ . | relURL }}?v={{ now.Unix }}">
{{- end }}
{{- end }}
{{- partial "google_tag_manager.html" . }}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment