hugo-battheme/layouts/partials/head.html

15 lines
602 B
HTML
Raw Normal View History

2022-04-08 22:27:21 +00:00
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
2022-04-16 14:19:16 +00:00
<title>{{ .Title }}@{{ .Site.Title }}</title>
2022-04-16 20:01:53 +00:00
<script type="module" src="/js/main.js"></script>
2022-04-09 08:16:52 +00:00
{{ $css := resources.Get "scss/main.scss" }}
{{ $css = $css | toCSS }}
<link rel="stylesheet" href="{{ $css.RelPermalink }}">
2022-04-16 15:45:11 +00:00
{{ range .AlternativeOutputFormats -}}
{{ printf `<link rel="%s" type="%s" href="%s" title="%s" />` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }}
{{ end -}}
2022-04-09 16:00:33 +00:00
<link rel="icon" type="image/x-icon" href="/svg/favicon.svg">
2022-04-08 22:27:21 +00:00
</head>