feat(status-page): add og:type Open Graph meta tags (#6562)
This commit is contained in:
commit
d53248dc85
@ -132,6 +132,9 @@ class StatusPage extends BeanModel {
|
||||
let ogDescription = $("<meta property=\"og:description\" content=\"\" />").attr("content", description155);
|
||||
head.append(ogDescription);
|
||||
|
||||
let ogType = $("<meta property=\"og:type\" content=\"website\" />");
|
||||
head.append(ogType);
|
||||
|
||||
// Preload data
|
||||
// Add jsesc, fix https://github.com/louislam/uptime-kuma/issues/2186
|
||||
const escapedJSONObject = jsesc(await StatusPage.getStatusPageData(statusPage), {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user