Add default title, og and twitter tags to index.tmpl

This commit is contained in:
Michael Mayer 2018-12-11 07:08:34 +01:00
parent 46476bc8b0
commit 4bb00abaf1

View file

@ -3,10 +3,24 @@
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>{{ .title }}</title>
<meta name="description" content="">
<meta name="author" content="">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>PhotoPrism</title>
<meta property="og:title" content="PhotoPrism: Browse your life in pictures" />
<meta property="og:image" content="https://photoprism.org/images/preview.jpg" />
<meta property="og:url" content="https://demo.photoprism.org/" />
<meta property="og:description" content="Personal photo management powered by Go and Google TensorFlow. Free and open-source. Made with ❤️ in Berlin." />
<meta name="twitter:card" content="summary_large_image" />
<meta name="twitter:title" content="PhotoPrism: Browse your life in pictures" />
<meta name="twitter:description" content="Personal photo management powered by Go and Google TensorFlow. Free and open-source. Made with ❤️ in Berlin." />
<meta name="twitter:image" content="https://photoprism.org/images/preview.jpg" />
<meta name="twitter:site" content="@browseyourlife" />
<meta name="author" content="PhotoPrism.org">
<meta name="description" content="Personal photo management powered by Go and Google TensorFlow. Free and open-source. Made with ❤️ in Berlin." />
<link rel="apple-touch-icon" href="/favicon.png">
<link rel="shortcut icon" href="/favicon.ico">
<link rel="icon" type="image/png" href="/favicon.png" />