Skip to content

Commit

Permalink
docs(hugo): single source of preview.gif
Browse files Browse the repository at this point in the history
  • Loading branch information
iyear committed Jun 19, 2024
1 parent b6cb08d commit 9587ac1
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ English | <a href="README_zh.md">简体中文</a>

It reaches my proxy's speed limit, and the **speed depends on whether you are a premium**

![](img/preview.gif)
![](docs/assets/img/preview.gif)

## Documentation

Expand Down
2 changes: 1 addition & 1 deletion README_zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@

预览中的速度已经达到了代理的限制,同时**速度取决于你是否是付费用户**

![](img/preview.gif)
![](docs/assets/img/preview.gif)

## 文档

Expand Down
File renamed without changes
2 changes: 1 addition & 1 deletion docs/content/en/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ title: Introduction

It reaches my proxy's speed limit, and the **speed depends on whether you are a premium**

![](/img/preview.gif)
{{< image "img/preview.gif" >}}

## Sponsors

Expand Down
2 changes: 1 addition & 1 deletion docs/content/zh/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ title: 介绍

预览中的速度已经达到了代理的限制,同时**速度取决于你是否是付费用户**

![](/img/preview.gif)
{{< image "img/preview.gif" >}}

## 赞助者

Expand Down
Binary file removed docs/content/zh/img/preview.gif
Binary file not shown.
4 changes: 4 additions & 0 deletions docs/layouts/shortcodes/image.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{{ $file := .Get 0 }}
{{ with resources.Get $file }}
<img src="{{ .RelPermalink }}" alt="{{ .Name }}" />
{{ end }}
Binary file removed img/preview.gif
Binary file not shown.

0 comments on commit 9587ac1

Please sign in to comment.