sigs.k8s.io/kueue@v0.6.2/site/layouts/partials/head.html (about)

     1  <meta charset="utf-8">
     2  <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
     3  {{ hugo.Generator }}
     4  {{ range .AlternativeOutputFormats -}}
     5  <link rel="{{ .Rel }}" type="{{ .MediaType.Type }}" href="{{ .Permalink | safeURL }}">
     6  {{ end -}}
     7  
     8  {{ $outputFormat := partial "outputformat.html" . -}}
     9  {{ if and hugo.IsProduction (ne $outputFormat "print") -}}
    10  <meta name="robots" content="index, follow">
    11  {{ else -}}
    12  <meta name="robots" content="noindex, nofollow">
    13  {{ end -}}
    14  
    15  {{ partial "seo_schema" . }}
    16  
    17  {{ partialCached "favicons.html" . }}
    18  <title>
    19    {{- if .IsHome -}}
    20      {{ .Site.Title -}}
    21    {{ else -}}
    22      {{ with .Title }}{{ . }} | {{ end -}}
    23      {{ .Site.Title -}}
    24    {{ end -}}
    25  </title>
    26  {{ $desc := .Page.Description | default (.Page.Content | safeHTML | truncate 150) -}}
    27  <meta name="description" content="{{ $desc }}">
    28  {{ template "_internal/opengraph.html" . -}}
    29  {{ template "_internal/schema.html" . -}}
    30  {{ template "_internal/twitter_cards.html" . -}}
    31  {{ partialCached "head-css.html" . "asdf" -}}
    32  <script
    33    src="https://code.jquery.com/jquery-3.5.1.min.js"
    34    integrity="sha256-9/aliU8dGd2tb6OSsuzixeV4y/faTqgFtohetphbbj0="
    35    crossorigin="anonymous"></script>
    36  {{ if .Site.Params.offlineSearch -}}
    37  <script
    38    src="https://unpkg.com/lunr@2.3.8/lunr.min.js"
    39    integrity="sha384-vRQ9bDyE0Wnu+lMfm57BlYLO0/XauFuKpVsZPs7KEDwYKktWi5+Kz3MP8++DFlRY"
    40    crossorigin="anonymous"></script>
    41  {{ end -}}
    42  
    43  {{ if .Site.Params.prism_syntax_highlighting -}}
    44  <link rel="stylesheet" href="{{ "/css/prism.css" | relURL }}"/>
    45  {{ end -}}
    46  
    47  {{ partial "hooks/head-end.html" . -}}
    48  
    49  {{/* To comply with GDPR, cookie consent scripts places in head-end must execute before Google Analytics is enabled */ -}}
    50  {{ if hugo.IsProduction -}}
    51    {{ if hasPrefix .Site.GoogleAnalytics "G-" -}}
    52      {{ template "_internal/google_analytics.html" . -}}
    53    {{ else -}}
    54      {{ template "_internal/google_analytics_async.html" . -}}
    55    {{ end -}}
    56  {{ end -}}