blog-static/themes/vanilla/layouts/partials/head.html

24 lines
1.4 KiB
HTML
Raw Permalink Normal View History

<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
2020-05-09 17:29:37 -07:00
<meta name="theme-color" content="#1dc868">
{{ if .Description }}
<meta name="description" content="{{ .Description }}">
{{ end }}
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Inconsolata:wght@400;700&family=Raleway&family=Lora&display=block" media="screen">
2020-05-09 17:02:13 -07:00
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/normalize/5.0.0/normalize.min.css" media="screen">
{{ $style := resources.Get "scss/style.scss" | resources.ToCSS | resources.Minify }}
2019-12-30 14:56:09 -08:00
{{ $sidenotes := resources.Get "scss/sidenotes.scss" | resources.ToCSS | resources.Minify }}
{{ $code := resources.Get "scss/code.scss" | resources.ToCSS | resources.Minify }}
2019-12-30 14:56:09 -08:00
{{ $icon := resources.Get "img/favicon.png" }}
{{- partial "sidenotes.html" . -}}
2020-05-09 17:02:13 -07:00
<link rel="stylesheet" href="{{ $style.Permalink }}" media="screen">
<link rel="stylesheet" href="{{ $sidenotes.Permalink }}" media="screen">
<link rel="stylesheet" href="{{ $code.Permalink }}" media="screen">
2020-05-09 17:02:13 -07:00
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/katex@0.11.1/dist/katex.min.css" integrity="sha384-zB1R0rpPzHqg7Kpt0Aljp8JPLqbXI3bhnPWROx27a9N0Ll6ZP/+DiW/UqRcLbRjq" crossorigin="anonymous" media="screen">
2019-12-30 14:56:09 -08:00
<link rel="icon" type="image/png" href="{{ $icon.Permalink }}">
2019-08-16 02:58:39 -07:00
<title>{{ .Title }}</title>
</head>