Skip to content

Commit 2905cd2

Browse files
committed
fix(seo): use the trailing-slash home URL for canonical and og:url
1 parent 4060dc3 commit 2905cd2

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

‎config/site.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
export const site = {
2-
siteUrl: 'https://webmonitor.github.io',
2+
siteUrl: 'https://webmonitor.github.io/',
33
title: 'WebMonitor | 网页监控与邮件提醒',
44
siteName: 'WebMonitor',
55
author: 'WebMonitor',

‎index.html‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
<meta property="og:title" content="WebMonitor | 网页监控与邮件提醒" />
1414
<meta property="og:description" content="盯住网页上的价格、公告、库存与日期,变化时发送邮件。可视化工作台与对话式 Agent,两种监控方式,均可自行部署。" />
1515
<meta property="og:type" content="website" />
16-
<meta property="og:url" content="https://webmonitor.github.io" />
16+
<meta property="og:url" content="https://webmonitor.github.io/" />
1717
<meta property="og:image" content="https://raw.githubusercontent.com/webmonitor/.github/main/image/logo.png" />
1818
<meta property="og:site_name" content="WebMonitor" />
1919
<meta property="og:locale" content="zh_CN" />
@@ -23,7 +23,7 @@
2323
<meta name="twitter:description" content="盯住网页上的价格、公告、库存与日期,变化时发送邮件。可视化工作台与对话式 Agent,两种监控方式,均可自行部署。" />
2424
<meta name="twitter:image" content="https://raw.githubusercontent.com/webmonitor/.github/main/image/logo.png" />
2525

26-
<link rel="canonical" href="https://webmonitor.github.io" />
26+
<link rel="canonical" href="https://webmonitor.github.io/" />
2727
<link rel="icon" type="image/png" href="https://raw.githubusercontent.com/webmonitor/.github/main/image/logo.png" />
2828
<link rel="apple-touch-icon" href="https://raw.githubusercontent.com/webmonitor/.github/main/image/logo.png" />
2929
<link rel="preconnect" href="https://fonts.googleapis.com" />

0 commit comments

Comments
 (0)