Rinkusu/layouts/partials/head.html

33 lines
1.4 KiB
HTML
Raw Normal View History

2021-04-29 16:00:01 +02:00
<head>
<meta charset="{{ site.Params.charset }}">
<title>{{ .Title }}</title>
{{ "<!-- Mobile responsive meta -->" | safeHTML }}
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<meta name="description" content="{{ with .Description }}{{ . }}{{ else }}{{ with site.Params.description }}{{ . }}{{ end }}{{ end }}">
{{ with site.Params.author }}
<meta name="author" content="{{ . }}">
{{ end }}
{{ hugo.Generator }}
{{ "<!-- Plugins -->" | safeHTML }}
{{ range site.Params.plugins.css }}
<link rel="stylesheet" href="{{ .link | absURL }}">
{{ end }}
2021-05-04 12:00:27 +02:00
{{ "<!-- Main Stylesheet -->" | safeHTML }}
2021-04-29 16:00:01 +02:00
{{ $styles := resources.Get "css/style.css" | minify }}
<link rel="stylesheet" href="{{ $styles.Permalink }}" media="screen">
2021-05-04 12:00:27 +02:00
{{ "<!-- Custom Stylesheet -->" | safeHTML }}
2021-04-29 16:00:01 +02:00
{{ $custom := resources.Get "css/custom.css" | minify }}
<link rel="stylesheet" href="{{ $custom.Permalink }}" media="screen">
2021-05-04 12:00:27 +02:00
{{ "<!-- Codeblocks Stylesheet -->" | safeHTML }}
{{ $style := resources.Get "css/syntax.css" | minify }}
<link rel="stylesheet" href="{{ $style.Permalink }}" media="screen">
2021-04-29 16:00:01 +02:00
{{ "<!--Favicon-->" | safeHTML }}
<link rel="shortcut icon" href="{{ `img/favicon.png` | absURL }}" type="image/x-icon">
<link rel="icon" href="{{ `img/favicon.png` | absURL }}" type="image/x-icon">
</head>