[feature] opengraph meta tags (#806)

* f0x gitignore additions

* better meta title and descriptions

* user avatar icon for thread and profile meta tags

* use proper tag for image

* whitespace

* add noescapeAttr template function

* use ogMeta struct for opengraph

* maxOGDescriptionLength = 300

Co-authored-by: tsmethurst <tobi.smethurst@protonmail.com>
This commit is contained in:
f0x52 2022-09-07 16:53:12 +02:00 committed by GitHub
commit d09ddb4769
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 179 additions and 7 deletions

6
.gitignore vendored
View file

@ -25,5 +25,7 @@ example/docker-compose/docker-volume
# excludes debug build
cmd/gotosocial/__debug_bin
# ignore f0x' nix-shell
shell.nix
# ignore f0x' nix-shell, direnv
shell.nix
.direnv
.envrc