summaryrefslogtreecommitdiff
path: root/layouts/partials
diff options
context:
space:
mode:
authorNantha Sorubakanthan <nantha@mielota.com>2025-10-05 17:51:54 +0200
committerNantha Sorubakanthan <nantha@mielota.com>2025-10-05 17:51:54 +0200
commit656739e5374a785e1497c300c2fa8b8744e31bfb (patch)
tree5126e5d71d3eff318cce177bc8cea5c57aa09c5f /layouts/partials
parent4c8ee0e90958b8d25e645ef486648a3f4b80252b (diff)
Added css version to bypass browser caching
Diffstat (limited to 'layouts/partials')
-rw-r--r--layouts/partials/head.html11
1 files changed, 2 insertions, 9 deletions
diff --git a/layouts/partials/head.html b/layouts/partials/head.html
index 477643d..47f4649 100644
--- a/layouts/partials/head.html
+++ b/layouts/partials/head.html
@@ -1,13 +1,6 @@
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
-{{ with .Params.css }}
-<link rel="stylesheet" href="{{ . }}">
-{{- else -}}
-<link rel="stylesheet" href="/style.css">
-{{- with .Section }}
-<link rel="stylesheet" href="/{{ . }}/{{ . }}.css">
-{{- end }}
-{{- end }}
+<link rel="stylesheet" type="text/css" href="/style.css?v=1.0.0">
<title>{{ if .IsHome }}{{ site.Title }}{{ else }}{{ .Title }}{{ end }}</title>
<meta name="author" content="{{ .Site.Params.email }} ({{ .Site.Params.name }})">
<meta name="description" content="{{- plainify (chomp .Summary) -}}">
@@ -20,4 +13,4 @@
{{- $processed := .Resize "600x" }}
{{- $processed := $processed.Crop "512x512" }}
<meta property="og:image" content="{{ $processed.RelPermalink }}" />
-{{- end -}}
+{{- end -}} \ No newline at end of file