photoprism/docker/demo/index.tmpl

51 lines
2.2 KiB
Cheetah
Raw Normal View History

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width, initial-scale=1.0{{if not .config.Settings.UI.Zoom }}, maximum-scale=1.0, user-scalable=no{{end}}">
<title>{{ .config.SiteTitle }}</title>
2020-07-21 14:32:18 +02:00
<meta property="og:url" content="{{ .config.SiteUrl }}">
<meta property="og:type" content="website">
<meta property="og:title" content="{{ .config.SiteTitle }}{{if .config.SiteCaption}}: {{ .config.SiteCaption }}{{end}}">
<meta property="og:image" content="{{ .config.SitePreview }}"/>
2020-07-21 14:32:18 +02:00
<meta property="og:description" content="{{ .config.SiteDescription }}">
2021-05-15 10:48:37 +02:00
<meta name="twitter:site" content="@photoprism_app">
2020-07-21 14:32:18 +02:00
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:title" content="{{ .config.SiteTitle }}{{if .config.SiteCaption}}: {{ .config.SiteCaption }}{{end}}">
<meta name="twitter:image" content="{{ .config.SitePreview }}">
<meta name="twitter:description" content="{{ .config.SiteDescription }}">
2020-07-21 14:32:18 +02:00
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<meta name="apple-mobile-web-app-title" content="{{ .config.SiteTitle }}">
{{if .config.SiteAuthor}}<meta name="author" content="{{ .config.SiteAuthor }}">{{end}}
{{if .config.SiteDescription}}<meta name="description" content="{{ .config.SiteDescription }}"/>{{end}}
{{template "favicons.tmpl" .}}
2021-07-05 16:41:43 +02:00
<link rel="stylesheet" href="{{ .config.StaticUri }}/build/app.css?{{ .config.CSSHash }}">
<link rel="manifest" href="{{ .config.BaseUri }}/manifest.json?{{ .config.ManifestHash }}" crossorigin="use-credentials">
<script>
window.__CONFIG__ = {{ .config }};
</script>
2021-07-05 09:27:01 +02:00
<script async defer data-domain="{{ .config.SiteDomain }}" src="https://a.photoprism.app/js/plausible.js"></script>
</head>
<body class="{{ .config.Flags }}">
<!--[if lt IE 8]>
<p class="browserupgrade">You are using an <strong>outdated</strong> browser. Please <a href="http://browsehappy.com/">upgrade
your browser</a> to improve your experience.</p>
<![endif]-->
{{template "app.tmpl" .}}
2021-07-05 16:41:43 +02:00
<script src="{{ .config.StaticUri }}/build/app.js?{{ .config.JSHash }}"></script>
</body>
</html>