antoinemartin.fr/themes/custom/layouts/partials/head.html

8 lines
294 B
HTML
Raw Normal View History

2022-11-18 23:26:44 +01:00
<head>
<meta charset="utf-8">
{{ $sassOptions := (dict "targetPath" "style.css" "enableSourceMap" (not hugo.IsProduction)) }}
{{ $style := resources.Get "sass/main.scss" | resources.ToCSS $sassOptions }}
<link rel="stylesheet" href="{{ $style.RelPermalink }}" type="text/css">
</head>