forked from Git/hugo-story
Delete 'exampleSite/layouts/partials/head.html'
This commit is contained in:
parent
868645b1a4
commit
b7a0b7e797
|
@ -1,32 +0,0 @@
|
||||||
<head>
|
|
||||||
<title>{{ .Site.Title }}</title>
|
|
||||||
<meta charset="utf-8" />
|
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no" />
|
|
||||||
<meta name="description" content="">
|
|
||||||
<meta name="author" content="">
|
|
||||||
{{ if .Site.Params.favicon }}
|
|
||||||
{{ partial "favicon" }}
|
|
||||||
{{ end }}
|
|
||||||
|
|
||||||
<!-- CSS -->
|
|
||||||
{{ if .Site.IsServer }}
|
|
||||||
{{ $style := resources.Get "sass/main.scss" | resources.ExecuteAsTemplate "scss/main.scss" . | toCSS (dict "targetPath" "css/main.css" "outputStyle" "compressed" "enableSourceMap" false) }}
|
|
||||||
<link rel="stylesheet" href="{{ ($style).RelPermalink }}">
|
|
||||||
{{ else }}
|
|
||||||
{{ $style := resources.Get "sass/main.scss" | resources.ExecuteAsTemplate "scss/main.scss" . | toCSS (dict "targetPath" "css/main.css" "enableSourceMap" false) }}
|
|
||||||
<link rel="stylesheet" href="{{ ($style | minify).RelPermalink }}">
|
|
||||||
{{ end }}
|
|
||||||
{{ if .Site.IsServer }}
|
|
||||||
{{ $noscript := resources.Get "sass/noscript.scss" | resources.ExecuteAsTemplate "noscript.scss" . | toCSS (dict "targetPath" "css/noscript.css" "enableSourceMap" false) }}
|
|
||||||
<noscript><link rel="stylesheet" href="{{ ($noscript).RelPermalink }}" /></noscript>
|
|
||||||
{{ else }}
|
|
||||||
{{ $noscript := resources.Get "sass/noscript.scss" | resources.ExecuteAsTemplate "noscript.scss" . | toCSS (dict "targetPath" "css/noscript.css" "enableSourceMap" false) }}
|
|
||||||
<noscript><link rel="stylesheet" href="{{ ($noscript | minify).RelPermalink }}" /></noscript>
|
|
||||||
{{end}}
|
|
||||||
|
|
||||||
<!-- FontAwesome CSS -->
|
|
||||||
{{ range .Site.Params.asset.fontawesome_css -}}
|
|
||||||
<link rel="stylesheet" href="{{ . | absURL }}">
|
|
||||||
{{- end }}
|
|
||||||
|
|
||||||
</head>
|
|
Loading…
Reference in New Issue