photoprism/assets/templates/share.tmpl
Michael Mayer 0ed82c690c Add link sharing template #18
Public mode only, auth not implemented yet.

Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-06-22 20:15:08 +02:00

49 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.SiteTitle }}</title>
<meta property="og:title" content="{{ .config.SiteTitle }}: {{ .config.SiteCaption }}"/>
<meta property="og:image" content="{{ .config.SiteUrl }}api/v1/preview"/>
<meta property="og:url" content="{{ .config.SiteUrl }}"/>
<meta property="og:description" content="{{ .config.SiteDescription }}"/>
<meta name="twitter:card" content="summary_large_image"/>
<meta name="twitter:title" content="{{ .config.SiteTitle }}: {{ .config.SiteCaption }}"/>
<meta name="twitter:description" content="{{ .config.SiteDescription }}"/>
<meta name="twitter:image" content="{{ .config.SiteUrl }}api/v1/preview"/>
<meta name="author" content="{{ .config.SiteAuthor }}">
<meta name="description" content="{{ .config.SiteDescription }}"/>
<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/share.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/share.js?{{ .config.JSHash }}"></script>
</body>
</html>