diff options
| author | Nantha Sorubakanthan <nantha@mielota.com> | 2025-10-05 17:51:54 +0200 |
|---|---|---|
| committer | Nantha Sorubakanthan <nantha@mielota.com> | 2025-10-05 17:51:54 +0200 |
| commit | 656739e5374a785e1497c300c2fa8b8744e31bfb (patch) | |
| tree | 5126e5d71d3eff318cce177bc8cea5c57aa09c5f /layouts | |
| parent | 4c8ee0e90958b8d25e645ef486648a3f4b80252b (diff) | |
Added css version to bypass browser caching
Diffstat (limited to 'layouts')
| -rw-r--r-- | layouts/partials/head.html | 11 |
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 |
