Browse Source

fix bug with wrong path generation

master
Schneider 4 years ago
parent
commit
af927333aa
  1. 0
      assets/css/style.css
  2. 3
      layouts/partials/head.html

0
static/css/style.css → assets/css/style.css

3
layouts/partials/head.html

@ -9,7 +9,8 @@
{{ .Hugo.Generator }}
<title>{{ if .IsHome }}{{ .Title }}{{ else }}{{ .Title }} &middot; {{ .Site.Title }}{{ end }}</title>
<link rel="shortcut icon" href="{{ .Site.BaseURL }}images/favicon.ico">
<link rel="stylesheet" href="{{ .Site.BaseURL }}css/style.css">
{{ $style := resources.Get "css/style.css" | resources.Minify | resources.Fingerprint }}
<link rel="stylesheet" href="{{ $style.Permalink }}">
{{ range .Site.Params.customCSS }}
<link rel="stylesheet" href="{{ $.Site.BaseURL }}{{ . }}">
{{ end }}

Loading…
Cancel
Save