From 61e1b1d6e6607a488bda37c8043e30fd7a99f44a Mon Sep 17 00:00:00 2001 From: Bit Qiu Date: Mon, 29 Jan 2024 18:30:55 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4=E6=A8=A1=E6=9D=BF=EF=BC=8C?= =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E7=9B=AE=E5=BD=95=E5=88=97=E8=A1=A8=20(#27)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * 添加目录列表 --- template/README-en.tpl | 6 ++++++ template/README.tpl | 6 ++++++ 2 files changed, 12 insertions(+) diff --git a/template/README-en.tpl b/template/README-en.tpl index fa91b67..5f3fbd8 100644 --- a/template/README-en.tpl +++ b/template/README-en.tpl @@ -27,6 +27,12 @@ We warmly welcome friends to share their own projects or recommend excellent pro 📢 If you plan to apply it in your production environment, please evaluate the selection based on the project's open source license, star count, last update time and other factors. +## Contents + +{{- range $key, $val := .}} +- [{{$key}}](#{{$key}}) +{{- end}} + {{- range $key, $val := .}} ## {{$key}} diff --git a/template/README.tpl b/template/README.tpl index 2b71957..fc12d72 100644 --- a/template/README.tpl +++ b/template/README.tpl @@ -28,6 +28,12 @@ 📢 如果你打算应用在自己所在的生产环境,请结合项目的开源协议,Star数,最后更新时间等综合评估之后进行选型。 +## 目录 + +{{- range $key, $val := .}} +- [{{$key}}](#{{$key}}) +{{- end}} + {{- range $key, $val := .}} ## {{$key}}