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 ) -}}
|
||||
{{- $scss := resources.Get "css/style.scss" | toCSS $cssoptions | fingerprint "sha512" -}}
|
||||
{{- $module := resources.Get "js/index.ts" | js.Build $jsoptions | fingerprint "sha512" -}}
|
||||
<link rel="stylesheet" href="{{ $scss.RelPermalink }}" integrity="{{ $scss.Data.Integrity}}">
|
||||
<script name="/main" type="module" src="{{ $module.RelPermalink }}" integrity="{{ $module.Data.Integrity }}"></script>
|
||||
<link rel="stylesheet" href="{{ $scss.Permalink }}" integrity="{{ $scss.Data.Integrity}}">
|
||||
<script type="module" src="{{ $module.Permalink }}" integrity="{{ $module.Data.Integrity }}"></script>
|
||||
<script type="module">
|
||||
import { init } from "{{ $module.RelPermalink }}";
|
||||
import { init } from "{{ $module.Permalink }}";
|
||||
init();
|
||||
</script>
|
||||
<title>{{.Title}}</title>
|
||||
|
@ -26,6 +26,10 @@
|
|||
<meta name="{{ $header }}" content="{{ .Param $header }}">
|
||||
{{- end -}}
|
||||
{{- end -}}
|
||||
{{- if not hugo.IsProduction -}}
|
||||
<meta name="kind" content="{{ .Page.Kind }}">
|
||||
<meta name="section" content="{{ .CurrentSection }}">
|
||||
{{ end }}
|
||||
</head>
|
||||
<body>
|
||||
<div role="none" class="colorscheme">
|
||||
|
|
Laden…
In neuem Issue referenzieren