aboutsummaryrefslogtreecommitdiffstats
path: root/layouts/partials/head.html
blob: f3919c4c189a8354f5e46a46eaf0ffab0295e145 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
<head>
  {{ partial "structured-data.html" . }}

  {{ with resources.Get "css/tailwind.css" | resources.Minify | fingerprint }}
    <link
      rel="stylesheet"
      href="{{ .RelPermalink }}"
      integrity="{{ .Data.Integrity }}"
      crossorigin="anonymous"
      type="text/css"
      media="screen"
    />
  {{ end }}

  {{ with resources.Get .Site.Params.favicon }}
    <link rel="icon" href="{{ .RelPermalink }}" />
  {{ end }}
  {{ range .AlternativeOutputFormats -}}
    {{ printf `<link rel="%s" type="%s" href="%s" title="%s" />` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }}
  {{ end -}}


  <script
    async
    src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-chtml.js"
  ></script>

  {{ with resources.Get "js/loads.js" | resources.Minify | fingerprint }}
    <script
      async
      src="{{ .RelPermalink }}"
      integrity="{{ .Data.Integrity }}"
      crossorigin="anonymous"
      referrerpolicy="no-referrer"
    ></script>
  {{ end }}
</head>