2023-04-13 00:07:08 +02:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html>
|
|
|
|
<head>
|
|
|
|
{{- if true -}}
|
|
|
|
<meta charset="utf-8">
|
|
|
|
<meta name="viewport" content="width=device-width, height=device-height initial-scale=1.0, minimum-scale=1.0">
|
|
|
|
{{ else }}
|
|
|
|
{{htmlSafe "<!--[if IE 6]>"}}
|
|
|
|
<meta http-equiv="Content-Type" content="text/html; charset=Unicode">
|
|
|
|
{{htmlSafe "<![endif]-->"}}
|
|
|
|
{{ end -}}
|
|
|
|
<title>{{if .Title}}{{ .Title }} -{{end}} {{if .AppName}}{{ .AppName }}{{end}}</title>
|
|
|
|
{{- if .AppName -}}
|
|
|
|
<meta property="og:title" content="{{ .AppName }}">
|
|
|
|
<meta property="og:site_name" content="{{ .AppName }}">
|
|
|
|
{{- end -}}
|
|
|
|
<meta property="og:type" content="website">
|
2023-08-24 18:43:24 +02:00
|
|
|
<!-- <meta name="referrer" content="no-referrer, strict-origin-when-cross-origin"> -->
|
|
|
|
<meta name="referrer" content="strict-origin-when-cross-origin">
|
2023-04-13 00:07:08 +02:00
|
|
|
|
2023-04-28 19:07:02 +02:00
|
|
|
<link rel="icon" href="/assets/img/logo-pcmt.svg" type="image/svg+xml">
|
2023-05-15 14:12:39 +02:00
|
|
|
<link href="/assets/css/pcmt.css" rel="preload" as="style" integrity="{{- sha384 "css/pcmt.css" -}}">
|
|
|
|
<link href="/assets/css/pcmt.css" rel="stylesheet" integrity="{{- sha384 "css/pcmt.css" -}}">
|
2023-04-13 00:07:08 +02:00
|
|
|
|
|
|
|
{{- if .DevelMode -}}
|
2023-08-24 18:43:24 +02:00
|
|
|
<!-- <meta http-equiv="content-security-policy" content="upgrade-insecure-requests; default-src 'self'; connect-src 'self' ws://localhost:3002 http://localhost:3002; script-src 'self' http://localhost:3002; style-src 'self' 'unsafe-inline';"/> -->
|
|
|
|
<meta http-equiv="content-security-policy" content="default-src 'self'; connect-src 'self' ws://localhost:3002 http://localhost:3002; script-src 'self' http://localhost:3002;"/>
|
2023-05-15 14:12:39 +02:00
|
|
|
<!-- inject browsersync script if running in devel mode -->
|
|
|
|
{{ template "browsersync.tmpl" }}
|
|
|
|
{{ else }}
|
|
|
|
<meta http-equiv="content-security-policy" content="upgrade-insecure-requests; default-src 'self'; connect-src 'self'; script-src 'self';"/>
|
2023-04-13 00:07:08 +02:00
|
|
|
{{- end -}}
|
|
|
|
</head>
|