mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-09 11:21:19 +01:00
5743d7cb5b
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. |
||
---|---|---|
.. | ||
alert.tmpl | ||
alert_details.tmpl | ||
disable_form_autofill.tmpl | ||
footer.tmpl | ||
footer_content.tmpl | ||
head.tmpl | ||
head_navbar.tmpl | ||
head_opengraph.tmpl | ||
head_script.tmpl | ||
head_style.tmpl | ||
modal_actions_confirm.tmpl | ||
paginate.tmpl |