forgejo/templates
Linus Groh 5743d7cb5b
Improve opengraph previews (#26851)
Add more useful Open Graph metadata for commit and file URLs:

- Set `og:title` to the page title, which is a concise summary in both
cases (`<commit message> · <commit hash>` and `<filename> at <branch>`,
respectively)
- Set `og:description` to the commit message body, if available
- Set `og:url` to the relevant URLs instead of the repo URL

Also move the relevant meta tags into a separate template as they now
take up the majority of the base head template.
2023-09-01 16:59:24 +00:00
..
admin
api/packages/pypi
base Improve opengraph previews (#26851) 2023-09-01 16:59:24 +00:00
code
custom
devtest
explore
mail
org
package
projects
repo
shared
status
swagger
user
home.tmpl
install.tmpl
post-install.tmpl