2020-05-05 18:26:44 +02:00
|
|
|
<!DOCTYPE html>
|
2022-02-28 17:53:21 +01:00
|
|
|
<html lang="en" data-color-mode="dark" data-light-theme="light" data-dark-theme="dark" class="overflow-y-hidden">
|
2020-05-05 18:26:44 +02:00
|
|
|
<head>
|
|
|
|
<meta charset="utf-8">
|
|
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
|
2021-01-04 19:08:44 +01:00
|
|
|
<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}}">
|
2020-05-05 18:26:44 +02:00
|
|
|
|
2020-05-31 02:09:52 +02:00
|
|
|
<title>{{ .config.SiteTitle }}</title>
|
2020-05-05 18:26:44 +02:00
|
|
|
|
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}}">
|
2020-06-26 14:26:36 +02:00
|
|
|
<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:43:29 +02:00
|
|
|
|
2020-07-21 14:32:18 +02:00
|
|
|
<meta name="apple-mobile-web-app-capable" content="yes">
|
2020-07-21 14:43:29 +02:00
|
|
|
<meta name="apple-mobile-web-app-status-bar-style" content="black">
|
|
|
|
<meta name="apple-mobile-web-app-title" content="{{ .config.SiteTitle }}">
|
2020-05-05 18:26:44 +02:00
|
|
|
|
2020-06-27 09:28:32 +02:00
|
|
|
{{if .config.SiteAuthor}}<meta name="author" content="{{ .config.SiteAuthor }}">{{end}}
|
|
|
|
{{if .config.SiteDescription}}<meta name="description" content="{{ .config.SiteDescription }}"/>{{end}}
|
2020-05-05 18:26:44 +02:00
|
|
|
|
2020-08-28 12:02:01 +02:00
|
|
|
{{template "favicons.tmpl" .}}
|
2020-05-05 18:26:44 +02:00
|
|
|
|
2022-01-18 12:26:33 +01:00
|
|
|
<link rel="stylesheet" href="{{ .config.CssUri }}">
|
|
|
|
<link rel="manifest" href="{{ .config.ManifestUri }}" crossorigin="use-credentials">
|
2020-05-05 18:26:44 +02:00
|
|
|
|
|
|
|
<script>
|
2022-02-07 09:43:12 +01:00
|
|
|
window.__CONFIG__ = {{ .config }};
|
2020-05-05 18:26:44 +02:00
|
|
|
</script>
|
2021-07-05 09:27:01 +02:00
|
|
|
|
2022-02-07 09:43:12 +01:00
|
|
|
<script async defer data-domain="{{ .config.SiteDomain }}" src="https://a.photoprism.app/js/s.js"></script>
|
2020-05-05 18:26:44 +02:00
|
|
|
</head>
|
2022-02-28 17:53:21 +01:00
|
|
|
<body class="{{ .config.Flags }} nojs">
|
2020-05-05 18:26:44 +02:00
|
|
|
|
2020-07-09 15:01:36 +02:00
|
|
|
{{template "app.tmpl" .}}
|
2020-05-05 18:26:44 +02:00
|
|
|
|
2022-01-18 12:26:33 +01:00
|
|
|
<script src="{{ .config.JsUri }}"></script>
|
2020-05-05 18:26:44 +02:00
|
|
|
</body>
|
|
|
|
</html>
|