- commit
- dbaec18
- parent
- 0590d19
- author
- jolheiser
- date
- 2024-07-17 12:50:48 -0400 EDT
feat: add basic OGP data to patch request page This patch adds some basic OGP data to the patch request details page. It includes the title, URL, and site name. Signed-off-by: jolheiser <git@jolheiser.com>
1 files changed,
+4,
-0
+4,
-0
1@@ -6,6 +6,10 @@
2 <link rel="alternate" type="application/atom+xml"
3 title="RSS feed for git collaboration server"
4 href="/prs/{{.Pr.ID}}/rss" />
5+<meta property="og:title" content="{{.Pr.Title}}" />
6+<meta property="og:url" content="https://{{.MetaData.URL}}/prs/{{.Pr.ID}}" />
7+<meta property="og:type" content="object" />
8+<meta property="og:site_name" content="{{.MetaData.URL}}" />
9 {{end}}
10
11 {{define "body"}}