mirror of
https://github.com/msfjarvis/msfjarvis.dev.git
synced 2024-06-03 04:18:56 +05:30
02e71780b9
https://developer.mozilla.org/en-US/docs/Web/Security/Subresource_Integrity Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
41 lines
1.7 KiB
HTML
41 lines
1.7 KiB
HTML
<!DOCTYPE html>
|
|
<html xmlns="http://www.w3.org/1999/xhtml"{{with .Site.LanguageCode}} xml:lang="{{.}}" lang="{{.}}"{{end}}>
|
|
<head>
|
|
<link href="https://gmpg.org/xfn/11" rel="profile">
|
|
<meta http-equiv="content-type" content="text/html; charset=utf-8">
|
|
{{ hugo.Generator }}
|
|
|
|
<!-- Enable responsiveness on mobile devices-->
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
|
|
{{ if .IsHome -}}
|
|
<title>{{ .Site.Title }}</title>
|
|
{{- else -}}
|
|
<title>{{ .Title }} · {{ .Site.Title }}</title>
|
|
{{- end }}
|
|
<meta name="description" content="{{if .IsHome}}{{ $.Site.Params.description }}{{else}}{{.Description}}{{end}}" />
|
|
|
|
<!-- CSS -->
|
|
<link type="text/css" rel="stylesheet" href="{{ .Site.BaseURL }}css/print.css" media="print">
|
|
<link type="text/css" rel="stylesheet" href="{{ .Site.BaseURL }}css/poole.css">
|
|
<link type="text/css" rel="stylesheet" href="{{ .Site.BaseURL }}css/hyde.css">
|
|
<link type="text/css" rel="stylesheet" href="{{ .Site.BaseURL }}css/prism.css">
|
|
{{ partial "head_fonts.html" . }}
|
|
|
|
<!-- PrismJS -->
|
|
{{ $js := resources.Get "js/prism.js" }}
|
|
{{ $secureJS := $js | resources.Fingerprint "sha512" }}
|
|
<script type="text/javascript" src="{{ $secureJS.Permalink }}" integrity="{{ $secureJS.Data.Integrity }}"></script>
|
|
|
|
<!-- Icons -->
|
|
<link rel="apple-touch-icon-precomposed" sizes="144x144" href="/apple-touch-icon-144-precomposed.png">
|
|
<link rel="shortcut icon" href="/favicon.png">
|
|
|
|
<!-- RSS etc -->
|
|
{{ range .AlternativeOutputFormats -}}
|
|
{{ printf `<link href="%s" rel="%s" type="%s" title="%s" />` .Permalink .Rel .MediaType.Type $.Site.Title | safeHTML }}
|
|
{{ end -}}
|
|
|
|
{{ partial "hook_head_end.html" . }}
|
|
</head>
|