gitea/templates/base
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
..
alert_details.tmpl Enforce tab indentation in templates (#15289) 2021-04-10 23:46:37 -04:00
alert.tmpl Clean up polluted styles and remove dead CSS code (#24497) 2023-05-03 14:32:10 -04:00
disable_form_autofill.tmpl Disable form autofill (#17291) 2021-10-19 01:08:41 +03:00
footer_content.tmpl Move licenses.txt to /assets directory (#26866) 2023-09-01 14:42:33 +00:00
footer.tmpl Start using template context function (#26254) 2023-08-08 01:22:47 +00:00
head_navbar.tmpl Use docs.gitea.com instead of docs.gitea.io (#26739) 2023-08-27 11:59:12 +00:00
head_opengraph.tmpl Improve opengraph previews (#26851) 2023-09-01 16:59:24 +00:00
head_script.tmpl Check disabled workflow when rerun jobs (#26535) 2023-08-22 10:30:02 +08:00
head_style.tmpl Remove meta tags theme-color and default-theme (#24960) 2023-05-28 22:33:17 +00:00
head.tmpl Improve opengraph previews (#26851) 2023-09-01 16:59:24 +00:00
modal_actions_confirm.tmpl Button and color enhancements (#24989) 2023-06-09 08:37:47 +00:00
paginate.tmpl Move helpers to be prefixed with gt- (#22879) 2023-02-13 17:59:59 +00:00