23 lines
911 B
HTML
23 lines
911 B
HTML
<meta charset="utf-8">
|
|
<meta name="generator" content="Hugo {{ hugo.Version }}">
|
|
{{ with .OutputFormats.Get "rss" }}
|
|
<link rel="{{ .Rel }}" {{ printf "type=%q" .MediaType.Type | safeHTMLAttr }} href="{{ .Permalink }}" title="{{ site.Title }}" />
|
|
{{ end }}
|
|
|
|
{{ range resources.Match "*.scss" }}
|
|
{{ $targetPath := path.Join "css" (printf "%s.css" (path.BaseName .Name)) }}
|
|
{{ $opts := dict "transpiler" "libsass" "targetPath" $targetPath }}
|
|
{{ with . | toCSS $opts }}
|
|
{{ if hugo.IsDevelopment }}
|
|
<link rel="stylesheet" href="{{ .RelPermalink }}">
|
|
{{ else -}}
|
|
{{ with . | minify | fingerprint }}
|
|
<link rel="stylesheet" href="{{ .RelPermalink }}" integrity="{{ .Data.Integrity }}" crossorigin="anonymous">
|
|
{{ end }}
|
|
{{ end }}
|
|
{{ end }}
|
|
{{ end }}
|
|
|
|
<title>{{ block "title" . }}{{ .Site.Title }} - {{ .Title }}{{ end }}</title>
|
|
{{/* vim: set tw=80 ts=2 sw=2 sts=2 ft=gohtmltmpl: */}}
|