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

25 lines
1.2 KiB
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">
<meta name="robots" content="{{ with .Params.robots }}{{ . }}{{ else }}index,follow{{ end }}">
<meta name="generator" content="Hugo static site generator">
{{ with .Params.description }}
<meta name="description" content="{{ . }}">
{{ else }}
{{ with .Params.summary }}
<meta name="description" content="{{ . }}">
{{ end }}
{{ end }}
{{ with .Keywords }}<meta name="keywords" content="{{ delimit . "," "," }}">{{ end }}
2023-01-19 17:21:20 +00:00
{{ $options := (dict "targetPath" "main.css" "outputStyle" "compressed" "enableSourceMap" (not hugo.IsProduction)) }}
2023-10-24 06:56:29 +00:00
{{ $scss := resources.Get "css/main.scss" | resources.ToCSS $options }}
2024-04-07 11:08:04 +00:00
<link rel="stylesheet" type="text/css" href="{{ $scss.RelPermalink }}" />
2023-01-19 17:21:20 +00:00
{{ $title := print .Site.Title " | " .Title }}
{{ if .IsHome }}{{ $title = .Site.Title }}{{ end }}
<title>{{ $title }}</title>
2024-04-07 11:08:20 +00:00
<link rel="canonical" href="{{ .Permalink }}" />
2023-01-21 22:29:45 +00:00
<script defer src="{{ relURL "js/jquery-3.6.3.min.js" }}"></script>
<script defer src="{{ relURL "js/slider.js" }}"></script>
2023-10-25 12:38:54 +00:00
<script defer src="{{ relURL "js/gallery.js" }}"></script>
2023-01-19 17:21:20 +00:00
</head>