Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

增加回到顶部的能力 #34

Merged
merged 1 commit into from
Feb 1, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion template/README-en.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ We warmly welcome friends to share their own projects or recommend excellent pro

## Contents

{{- range $key, $val := .}}
{{- range $key, $val := .}}
- [{{$key}}](#{{$key}})
{{- end}}

Expand All @@ -46,4 +46,10 @@ We warmly welcome friends to share their own projects or recommend excellent pro
{{- range $item := $val}}
| [{{$item.owner}}/{{$item.repo}}](https://github.com/{{$item.owner}}/{{$item.repo}}) | {{ghCustom $item.owner $item.repo}} | {{$item.desc_en}} |
{{- end}}

<div align="right">

🔝[Back To Top](#Contents)
</div>

{{end}}
8 changes: 7 additions & 1 deletion template/README.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@

## 目录

{{- range $key, $val := .}}
{{- range $key, $val := .}}
- [{{$key}}](#{{$key}})
{{- end}}

Expand All @@ -47,6 +47,12 @@
{{- range $item := $val}}
| [{{$item.owner}}/{{$item.repo}}](https://github.com/{{$item.owner}}/{{$item.repo}}) | {{ghCustom $item.owner $item.repo}} | {{$item.desc}} |
{{- end}}

<div align="right">

🔝[回到顶部](#目录)
</div>

{{end}}

{{updateDesc "eryajf" "awesome-ops"}}