Regroup all static resources into the same folder (favicon and css)
This commit is contained in:
parent
36bd711d4f
commit
f9c9c23cdd
2 changed files with 2 additions and 1 deletions
|
@ -5,6 +5,7 @@
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
|
<link rel="icon" href="/static/favicon.ico">
|
||||||
|
|
||||||
{{ template "_internal/opengraph.html" . }}
|
{{ template "_internal/opengraph.html" . }}
|
||||||
|
|
||||||
|
@ -13,7 +14,7 @@
|
||||||
{{- $home := resources.Get "home.css" -}}
|
{{- $home := resources.Get "home.css" -}}
|
||||||
{{- $pagination := resources.Get "pagination.css" -}}
|
{{- $pagination := resources.Get "pagination.css" -}}
|
||||||
{{- $footer := resources.Get "footer.css" -}}
|
{{- $footer := resources.Get "footer.css" -}}
|
||||||
{{- $allCss := slice $base $header $home $pagination $footer | resources.Concat "css/all.css" | fingerprint | minify -}}
|
{{- $allCss := slice $base $header $home $pagination $footer | resources.Concat "static/all.css" | fingerprint | minify -}}
|
||||||
<link rel="stylesheet" href="{{ $allCss.Permalink }}">
|
<link rel="stylesheet" href="{{ $allCss.Permalink }}">
|
||||||
|
|
||||||
{{ range .AlternativeOutputFormats -}}
|
{{ range .AlternativeOutputFormats -}}
|
||||||
|
|
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 1.1 KiB |
Loading…
Add table
Reference in a new issue