mirror of
https://github.com/iyear/tdl
synced 2025-01-07 03:16:41 +08:00
docs(hugo): add logo and favicon to index page
This commit is contained in:
parent
a5ae3c3c01
commit
291d7f5ad3
@ -10,9 +10,11 @@ title: Introduction
|
||||
![](https://img.shields.io/github/v/release/iyear/tdl?color=red&style=flat-square)
|
||||
![](https://img.shields.io/github/downloads/iyear/tdl/total?style=flat-square)
|
||||
|
||||
{{< image src="img/logo.png" align="right" height="270" width="270">}}
|
||||
|
||||
📥 Telegram Downloader, but more than a downloader
|
||||
|
||||
## Features
|
||||
#### Features:
|
||||
|
||||
- Single file start-up
|
||||
- Low resource usage
|
||||
@ -27,7 +29,7 @@ title: Introduction
|
||||
|
||||
It reaches my proxy's speed limit, and the **speed depends on whether you are a premium**
|
||||
|
||||
{{< image "img/preview.gif" >}}
|
||||
{{< image src="img/preview.gif" >}}
|
||||
|
||||
## Sponsors
|
||||
|
||||
|
@ -10,6 +10,8 @@ title: 介绍
|
||||
![](https://img.shields.io/github/v/release/iyear/tdl?color=red&style=flat-square)
|
||||
![](https://img.shields.io/github/downloads/iyear/tdl/total?style=flat-square)
|
||||
|
||||
{{< image src="img/logo.png" align="right" height="310" width="310">}}
|
||||
|
||||
📥 Telegram Downloader, but more than a downloader
|
||||
|
||||
## 特性
|
||||
@ -27,7 +29,7 @@ title: 介绍
|
||||
|
||||
预览中的速度已经达到了代理的限制,同时**速度取决于你是否是付费用户**
|
||||
|
||||
{{< image "img/preview.gif" >}}
|
||||
{{< image src="img/preview.gif" >}}
|
||||
|
||||
## 赞助者
|
||||
|
||||
|
@ -1,4 +1,8 @@
|
||||
{{ $file := .Get 0 }}
|
||||
{{ $file := .Get "src" }}
|
||||
{{ $height := .Get "height" }}
|
||||
{{ $width := .Get "width" }}
|
||||
{{ $align := .Get "align" }}
|
||||
|
||||
{{ with resources.Get $file }}
|
||||
<img src="{{ .RelPermalink }}" alt="{{ .Name }}" />
|
||||
<img src="{{ .RelPermalink }}" alt="{{ .Name }}" height="{{ $height }}" width="{{ $width }}" align="{{ $align }}" />
|
||||
{{ end }}
|
||||
|
BIN
docs/static/favicon.png
vendored
Normal file
BIN
docs/static/favicon.png
vendored
Normal file
Binary file not shown.
After Width: | Height: | Size: 47 KiB |
Loading…
Reference in New Issue
Block a user