github.com/projectcontour/contour@v1.28.2/site/themes/contour/layouts/_default/baseof.html (about)

     1  <!DOCTYPE html>
     2  <html lang="{{ .Site.LanguageCode | default "en-us" }}">
     3  <head>
     4  	<meta charset="UTF-8">
     5  	<meta name="viewport" content="width=device-width, initial-scale=1">
     6  	<meta http-equiv="X-UA-Compatible" content="IE=edge">
     7  	<title>{{ if .Title }}{{ .Title }}{{ else }}Documentation{{ end }}</title>
     8  	{{ with .Site.Params.description }}<meta name="description" content="{{ . }}">{{ end }}
     9  	{{ with .Site.Params.author }}<meta name="author" content="{{ . }}">{{ end }}
    10  	{{ $options := (dict "targetPath" "css/style.css" "outputStyle" "compressed" "enableSourceMap" true "includePaths" (slice "node_modules/myscss")) }}
    11  	{{ $style := resources.Get "scss/site.scss" | resources.ToCSS $options }}
    12  	<link rel="stylesheet" href="{{ $style.Permalink }}" integrity="{{ $style.Data.Integrity }}" media="screen">
    13  	<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@docsearch/css@3">
    14  	<style> 
    15  		.DocSearch-Button{
    16  			margin: 0px;	
    17  		}
    18  	</style>
    19  	<link rel="icon" type="image/png" href="/img/favicon.ico">
    20  	<script src="{{ "js/main.js" | relURL }}" type="text/javascript"></script>
    21  	{{ with .OutputFormats.Get "RSS" -}}
    22  		{{ printf `<link rel="%s" type="%s" href="%s" title="%s">` .Rel .MediaType.Type .RelPermalink $.Site.Title | safeHTML }}
    23  	{{- end }}
    24  </head>
    25  <body>
    26  	{{ partial "header" . }}
    27  	{{ block "main" . }}{{ end }}
    28  	{{ partial "getting-started" . }}
    29  	{{ partial "footer" . }}
    30      {{ if .Site.Params.docs_search }}
    31  	<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/@docsearch/js@3/dist/umd/index.js"></script>
    32      <script type="text/javascript"> docsearch({
    33          apiKey: '{{ .Site.Params.Docs_search_api_key }}',
    34          indexName: '{{ .Site.Params.Docs_search_index_name }}',
    35          appId: '{{ .Site.Params.Docs_search_app_id }}',
    36          container: '#docsearch-div',
    37          searchParameters: {'facetFilters': ["version:{{ .CurrentSection.Params.version }}"]},
    38          debug: false // Set debug to true if you want to inspect the dropdown
    39        });
    40      </script>
    41      {{ end }}
    42  </body>
    43  </html>