diff options
author | 2021-06-21 21:09:06 +0200 | |
---|---|---|
committer | 2021-06-21 21:09:06 +0200 | |
commit | fd57cca437e3289ab0e9bd8df7714882ca954aca (patch) | |
tree | 0be59a8a3758e335099ca0da988b54aec5f9a4e7 | |
parent | add 404 handler (#57) (diff) | |
download | gotosocial-fd57cca437e3289ab0e9bd8df7714882ca954aca.tar.xz |
Opengraph meta tags (#55)
* add favicon
* add opengraph tags with title and description
-rw-r--r-- | web/template/header.tmpl | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/web/template/header.tmpl b/web/template/header.tmpl index 33cb2b86a..45d375ab8 100644 --- a/web/template/header.tmpl +++ b/web/template/header.tmpl @@ -5,6 +5,8 @@ <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> + <meta name="og:title" content="{{.instance.Title}}"> + <meta name="og:description" content="{{.instance.Description}}"> <link rel="stylesheet" href="/assets/bundle.css"> <link rel="shortcut icon" href="/assets/sloth.png" type="image/png"> <title>{{.instance.Title}} - GoToSocial</title> |