photoprism/assets/resources/templates/index.tmpl
Michael Mayer dac272468e Sharing: Render preview image & site info
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2019-12-11 14:10:20 +01:00

50 lines
1.9 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>{{ .clientConfig.title }}</title>
<meta property="og:title" content="{{ .clientConfig.title }}: {{ .clientConfig.subtitle }}"/>
<meta property="og:image" content="{{ .clientConfig.url }}api/v1/preview"/>
<meta property="og:url" content="{{ .clientConfig.url }}"/>
<meta property="og:description" content="{{ .clientConfig.description }}"/>
<meta name="twitter:card" content="summary_large_image"/>
<meta name="twitter:title" content="{{ .clientConfig.title }}: {{ .clientConfig.subtitle }}"/>
<meta name="twitter:description" content="{{ .clientConfig.description }}"/>
<meta name="twitter:image" content="{{ .clientConfig.url }}api/v1/preview"/>
<meta name="twitter:site" content="{{ .clientConfig.twitter }}"/>
<meta name="author" content="{{ .clientConfig.author }}">
<meta name="description" content="{{ .clientConfig.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?{{ .clientConfig.cssHash }}">
<link rel="manifest" href="/static/manifest.json">
<script>
window.clientConfig = {{ .clientConfig }};
</script>
</head>
<body>
<!--[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?{{ .clientConfig.jsHash }}"></script>
</body>
</html>