photoprism/docker/demo/index.tmpl
Michael Mayer 6f6e3799dc Refactor download urls and client config
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-05-27 19:38:40 +02:00

50 lines
1.8 KiB
Cheetah

<!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">
<title>{{ .config.Title }}</title>
<meta property="og:title" content="{{ .config.Title }}: {{ .config.Subtitle }}"/>
<meta property="og:image" content="{{ .config.URL }}api/v1/preview"/>
<meta property="og:url" content="{{ .config.URL }}"/>
<meta property="og:description" content="{{ .config.Description }}"/>
<meta name="twitter:card" content="summary_large_image"/>
<meta name="twitter:title" content="{{ .config.Title }}: {{ .config.Subtitle }}"/>
<meta name="twitter:description" content="{{ .config.Description }}"/>
<meta name="twitter:image" content="{{ .config.URL }}api/v1/preview"/>
<meta name="twitter:site" content="@browseyourlife"/>
<meta name="author" content="{{ .config.Author }}">
<meta name="description" content="{{ .config.Description }}"/>
<link rel="shortcut icon" href="/favicon.ico">
<link rel="apple-touch-icon" href="/static/favicons/favicon.png">
<link rel="icon" type="image/png" href="/static/favicons/favicon.png"/>
<link rel="stylesheet" href="/static/build/app.css?{{ .config.CSSHash }}">
<link rel="manifest" href="/static/manifest.json">
<script>
window.__CONFIG__ = {{ .config }};
</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]-->
<div id="photoprism" class="container">
<div class="loading rainbow">
</div>
</div>
<div id="p-busy-overlay"></div>
<script src="/static/build/app.js?{{ .config.JSHash }}"></script>
</body>
</html>