adapt website for hugo
This commit is contained in:
parent
3968d5d379
commit
ecf49a5e11
22 changed files with 356 additions and 1184 deletions
8
themes/cozy-hugo/layouts/partials/head.html
Normal file
8
themes/cozy-hugo/layouts/partials/head.html
Normal file
|
@ -0,0 +1,8 @@
|
|||
{{ $options := (dict "targetPath" "style.css" "outputStyle" "compressed" "enableSourceMap" (not hugo.IsProduction) "includePaths" (slice "node_modules/myscss")) }}
|
||||
{{ $css := resources.Get "css/main.scss" | resources.ToCSS $options }}
|
||||
|
||||
<title>{{ if not .Page.IsHome }}{{ with .Page.Title }}{{ . }} – {{ end }}{{ end }}Cozy Town</title>
|
||||
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<link rel="stylesheet" href="{{ $css.Permalink | relURL }}" type="text/css" media="screen" />
|
||||
<link rel="icon" type="image/png" href="favicon.png">
|
Loading…
Add table
Add a link
Reference in a new issue