gtsocial-umbx

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit fd57cca437e3289ab0e9bd8df7714882ca954aca
parent 5a2f3b35baeacff0c88c4455897f5edef9e6190f
Author: f0x52 <f0x@cthu.lu>
Date:   Mon, 21 Jun 2021 21:09:06 +0200

Opengraph meta tags (#55)

* add favicon

* add opengraph tags with title and description
Diffstat:
Mweb/template/header.tmpl | 2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git 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>