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

8 lines
294 B
HTML

<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>