links are now permanent
and added some debugging data
Dieser Commit ist enthalten in:
Ursprung
2f3e96b037
Commit
38047e32ed
|
@ -11,10 +11,10 @@
|
||||||
{{- $jsoptions := (dict "minify" (not hugo.IsProduction) "format" "esm" "sourceMap" $sourcemap ) -}}
|
{{- $jsoptions := (dict "minify" (not hugo.IsProduction) "format" "esm" "sourceMap" $sourcemap ) -}}
|
||||||
{{- $scss := resources.Get "css/style.scss" | toCSS $cssoptions | fingerprint "sha512" -}}
|
{{- $scss := resources.Get "css/style.scss" | toCSS $cssoptions | fingerprint "sha512" -}}
|
||||||
{{- $module := resources.Get "js/index.ts" | js.Build $jsoptions | fingerprint "sha512" -}}
|
{{- $module := resources.Get "js/index.ts" | js.Build $jsoptions | fingerprint "sha512" -}}
|
||||||
<link rel="stylesheet" href="{{ $scss.RelPermalink }}" integrity="{{ $scss.Data.Integrity}}">
|
<link rel="stylesheet" href="{{ $scss.Permalink }}" integrity="{{ $scss.Data.Integrity}}">
|
||||||
<script name="/main" type="module" src="{{ $module.RelPermalink }}" integrity="{{ $module.Data.Integrity }}"></script>
|
<script type="module" src="{{ $module.Permalink }}" integrity="{{ $module.Data.Integrity }}"></script>
|
||||||
<script type="module">
|
<script type="module">
|
||||||
import { init } from "{{ $module.RelPermalink }}";
|
import { init } from "{{ $module.Permalink }}";
|
||||||
init();
|
init();
|
||||||
</script>
|
</script>
|
||||||
<title>{{.Title}}</title>
|
<title>{{.Title}}</title>
|
||||||
|
@ -26,6 +26,10 @@
|
||||||
<meta name="{{ $header }}" content="{{ .Param $header }}">
|
<meta name="{{ $header }}" content="{{ .Param $header }}">
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
|
{{- if not hugo.IsProduction -}}
|
||||||
|
<meta name="kind" content="{{ .Page.Kind }}">
|
||||||
|
<meta name="section" content="{{ .CurrentSection }}">
|
||||||
|
{{ end }}
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div role="none" class="colorscheme">
|
<div role="none" class="colorscheme">
|
||||||
|
|
Laden…
In neuem Issue referenzieren