bobatheme/layouts/partials/head.html

47 lines
2.1 KiB
HTML
Raw Normal View History

2021-09-25 20:52:01 -05:00
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
{{ hugo.Generator }}
2021-09-25 20:52:01 -05:00
{{ with resources.Get "css/bobastyle.css" | fingerprint "sha512" }}
2023-11-05 00:56:01 -05:00
<link rel="stylesheet" type="text/css" href="{{ .Permalink }}" integrity="{{ .Data.Integrity }}" crossorigin="anonymous" onload="this.media='all'">
{{ end }}
{{ with resources.Get "css/syntax.css" | fingerprint "sha512" }}
2023-11-05 00:31:26 -05:00
<link rel="stylesheet" type="text/css" href="{{ .Permalink }}" integrity="{{ .Data.Integrity }}" crossorigin="anonymous" media="print" onload="this.media='all'">
{{ end }}
{{ with resources.Get "css/syntax-light.css" | fingerprint "sha512" }}
2023-11-05 00:31:26 -05:00
<link rel="stylesheet" type="text/css" href="{{ .Permalink }}" integrity="{{ .Data.Integrity }}" crossorigin="anonymous" media="print" onload="this.media='all'">
{{ end }}
2022-05-01 18:14:02 -05:00
2023-01-20 17:14:18 -06:00
{{ with resources.Get "js/bobatheme.js" | fingerprint "sha512" }}
<script defer src="{{ .Permalink }}" integrity="{{ .Data.Integrity }}" crossorigin="anonymous"></script>
2021-11-22 20:49:11 -06:00
{{ end }}
2022-05-01 18:14:02 -05:00
{{ with resources.Get "js/share-event.js" | fingerprint "sha512" }}
<script defer src="{{ .Permalink }}" integrity="{{ .Data.Integrity }}" crossorigin="anonymous"></script>
2022-05-01 18:14:02 -05:00
{{ end }}
2021-09-28 18:28:22 -05:00
{{ with .Site.Params.faviconSVG }}
<link rel="icon" href="{{ . | absURL }}" />
2021-09-28 18:28:22 -05:00
{{ end }}
{{ with .Site.Params.appleTouchPNG }}
<link rel="apple-touch-icon" href="{{ . | absURL }}" />
2021-09-28 18:28:22 -05:00
{{ end }}
{{ if .IsHome }}
<title>{{ .Site.Title | plainify }}</title>
{{ else }}
<title>{{ (print .Title " | " .Site.Title) | plainify }}</title>
{{ end }}
2021-09-25 20:52:01 -05:00
{{ partial "seo-tags/opengraph.html" . }}
{{ partial "seo-tags/twitter-cards.html" . }}
{{ partial "seo-tags/schema.html" . }}
{{ partial "seo-tags/link.html" . }}
{{ partial "seo-tags/author.html" . }}
2021-11-20 18:24:56 -06:00
<meta name="language" content="{{ .Language.Lang }}">
<meta name="description" content="{{ (partial "seo-description.html" .) | plainify }}">
2022-04-08 01:18:20 -05:00
{{ partial "additional-head.html" . }}
2021-09-25 20:52:01 -05:00
</head>