pcmt/templates/head.tmpl

32 lines
1.3 KiB
Go HTML Template
Raw Normal View History

<!DOCTYPE html>
<html lang="en">
<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 name="description" content="Password Compromise Monitoring Tool">
<meta property="og:description" content="Password Compromise Monitoring Tool">
<meta property="og:type" content="website">
<!-- <meta name="referrer" content="no-referrer, strict-origin-when-cross-origin"> -->
<meta name="referrer" content="strict-origin-when-cross-origin">
<link rel="icon" href="/assets/img/logo-pcmt.svg" type="image/svg+xml">
<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" -}}">
{{- if .DevelMode -}}
<!-- inject browsersync script if running in devel mode -->
{{ template "browsersync.tmpl" }}
{{- end -}}
</head>