Use relative permalink for CSS

This commit is contained in:
2022-06-23 11:46:28 +02:00
parent a14e6ebe62
commit e50759ba69
7 changed files with 8 additions and 763 deletions

File diff suppressed because one or more lines are too long

View File

@@ -5,7 +5,7 @@
<title>{{ block "title" . }}{{ .Title }} | {{ .Site.Title }}{{ end }}</title>
<link href='https://assets.kosmos.org/fonts/open-sans/open-sans.css' rel='stylesheet'>
{{ $css := resources.Get "css/main.css" | resources.Fingerprint }}
<link rel="stylesheet" href="{{ $css.Permalink }}" />
<link rel="stylesheet" href="{{ $css.RelPermalink }}" />
</head>
<body class="text-center">
{{ partial "topnav" . }}