hugo-page/themes/tsc_vfl/layouts/partials/head.html

13 lines
685 B
HTML
Raw Normal View History

2023-01-19 17:21:20 +00:00
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
{{ $options := (dict "targetPath" "main.css" "outputStyle" "compressed" "enableSourceMap" (not hugo.IsProduction)) }}
{{ $scss := resources.Get "main.scss" | resources.ToCSS $options }}
<link rel="stylesheet" type="text/css" href="{{ $scss.Permalink }}">
{{/* <link rel="stylesheet" type="text/css" href="/css/bootstrap.min.css"> */}}
<link rel="stylesheet" type="text/css" href="{{ relURL "css/main.css" }}">
{{ $title := print .Site.Title " | " .Title }}
{{ if .IsHome }}{{ $title = .Site.Title }}{{ end }}
<title>{{ $title }}</title>
</head>