gitea/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 User details page (#26713) 2023-08-31 11:21:18 +02:00
api/packages/pypi Remove incorrect HTML self close tag (#23748) 2023-03-27 18:05:51 +02:00
base Improve opengraph previews (#26851) 2023-09-01 16:59:24 +00:00
code Refactor some CSS styles and simplify code (#26771) 2023-08-28 22:14:51 +08:00
custom Add footer extra links template (#9576) 2020-01-03 20:41:56 +02:00
devtest Minor dashboard tweaks, fix flex-list margins (#26829) 2023-08-31 21:28:45 +00:00
explore User details page (#26713) 2023-08-31 11:21:18 +02:00
mail Update team invitation email link (#26550) 2023-08-31 16:26:13 +00:00
org Remove polluted .ui.right (#26825) 2023-08-31 02:29:59 +00:00
package Minor dashboard tweaks, fix flex-list margins (#26829) 2023-08-31 21:28:45 +00:00
projects Refactor some CSS styles and simplify code (#26771) 2023-08-28 22:14:51 +08:00
repo Minor dashboard tweaks, fix flex-list margins (#26829) 2023-08-31 21:28:45 +00:00
shared Minor dashboard tweaks, fix flex-list margins (#26829) 2023-08-31 21:28:45 +00:00
status Replace fomantic divider module with our own (#25539) 2023-06-29 20:24:22 +08:00
swagger feat(API): add secret deletion functionality for repository (#26808) 2023-09-01 13:02:49 +00:00
user Add more descriptive error on forgot password page (#26848) 2023-09-01 16:15:39 +00:00
home.tmpl Improve home page template, fix Sort dropdown menu flash (#23856) 2023-04-01 13:47:54 +08:00
install.tmpl Use docs.gitea.com instead of docs.gitea.io (#26739) 2023-08-27 11:59:12 +00:00
post-install.tmpl Remove incorrect element ID on "post-install" page (#25104) 2023-06-08 12:23:39 +08:00