This is an automated email from the ASF dual-hosted git repository.

wusheng pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/skywalking-website.git


The following commit(s) were added to refs/heads/master by this push:
     new aa17248  fix: id (#296)
aa17248 is described below

commit aa172486b7a4e8fce2c78c47b745e6265ed6c2e8
Author: Juntao Zhang <[email protected]>
AuthorDate: Wed Jun 30 00:50:52 2021 -0500

    fix: id (#296)
---
 layouts/shortcodes/contributors.html | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/layouts/shortcodes/contributors.html 
b/layouts/shortcodes/contributors.html
index c00eed8..949b2d3 100644
--- a/layouts/shortcodes/contributors.html
+++ b/layouts/shortcodes/contributors.html
@@ -15,8 +15,7 @@
         <div>
             {{range $index, $element := .list}}
             {{$name := .name }}
-            {{$id := replace .name " " "" }}
-            {{$id := replace $id "." "" }}
+            {{$id := .repo }}
 
             <div class="card" data-repo="{{.repo}}">
                 <div class="card-header" id="{{$id}}">

Reply via email to