Skip to content

Commit e544e83

Browse files
committed
refactor(hugo): link snippet
1 parent 467668f commit e544e83

File tree

4 files changed

+30
-20
lines changed

4 files changed

+30
-20
lines changed

docs/content/en/guide/download.md

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -11,16 +11,7 @@ weight: 30
1111
Get message links from "Copy Link" button in official clients.
1212
{{< /hint >}}
1313

14-
{{< details title="Message Link Examples" open=false >}}
15-
16-
- `https://t.me/telegram/193`
17-
- `https://t.me/c/1697797156/151`
18-
- `https://t.me/iFreeKnow/45662/55005`
19-
- `https://t.me/c/1492447836/251015/251021`
20-
- `https://t.me/opencfdchannel/4434?comment=360409`
21-
- `https://t.me/myhostloc/1485524?thread=1485523`
22-
- `...` (File a new issue if you find a new link format)
23-
{{< /details >}}
14+
{{< include "snippets/link.md" >}}
2415

2516
{{< command >}}
2617
tdl dl -u https://t.me/tdl/1 -u https://t.me/tdl/2

docs/content/en/snippets/link.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
---
2+
---
3+
4+
{{< details title="Message Link Examples" open=false >}}
5+
6+
- `https://t.me/telegram/193`
7+
- `https://t.me/c/1697797156/151`
8+
- `https://t.me/iFreeKnow/45662/55005`
9+
- `https://t.me/c/1492447836/251015/251021`
10+
- `https://t.me/opencfdchannel/4434?comment=360409`
11+
- `https://t.me/myhostloc/1485524?thread=1485523`
12+
- `...` (File a new issue if you find a new link format)
13+
14+
{{< /details >}}

docs/content/zh/guide/download.md

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -11,16 +11,7 @@ weight: 30
1111
点击官方客户端的 "复制链接" 按钮获取消息链接。
1212
{{< /hint >}}
1313

14-
{{< details title="消息链接示例" open=false >}}
15-
16-
- `https://t.me/telegram/193`
17-
- `https://t.me/c/1697797156/151`
18-
- `https://t.me/iFreeKnow/45662/55005`
19-
- `https://t.me/c/1492447836/251015/251021`
20-
- `https://t.me/opencfdchannel/4434?comment=360409`
21-
- `https://t.me/myhostloc/1485524?thread=1485523`
22-
- `...`(如果发现新的链接格式,请提交新的 Issue)
23-
{{< /details >}}
14+
{{< include "snippets/link.md" >}}
2415

2516
{{< command >}}
2617
tdl dl -u https://t.me/tdl/1 -u https://t.me/tdl/2

docs/content/zh/snippets/link.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
---
2+
---
3+
4+
{{< details title="消息链接示例" open=false >}}
5+
6+
- `https://t.me/telegram/193`
7+
- `https://t.me/c/1697797156/151`
8+
- `https://t.me/iFreeKnow/45662/55005`
9+
- `https://t.me/c/1492447836/251015/251021`
10+
- `https://t.me/opencfdchannel/4434?comment=360409`
11+
- `https://t.me/myhostloc/1485524?thread=1485523`
12+
- `...`(如果发现新的链接格式,请提交新的 Issue)
13+
14+
{{< /details >}}

0 commit comments

Comments
 (0)