Skip to content

Commit e63dee0

Browse files
committedApr 9, 2021
Fix slugs in topics plugin
1 parent ff8734c commit e63dee0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎source/templates/markdown/partials/topics.ejs

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<%= plugins.topics.error.message _%>
66
<%_ } else if (plugins.topics.list.length) { _%>
77
<%_ for (const {name, icon24} of plugins.topics.list.slice(0, plugins.topics.list.length-1)) { _%>
8-
[![](https://img.shields.io/static/v1?style=flat&label=&message=<%= encodeURIComponent(name) %>&color=222&logo=<%= icon24 %>)](https://github.com/topics/<%= name.toLocaleLowerCase().replace(/ /g, "-") %>)
8+
[![](https://img.shields.io/static/v1?style=flat&label=&message=<%= encodeURIComponent(name) %>&color=222&logo=<%= icon24 %>)](https://github.com/topics/<%= name.toLocaleLowerCase().replace(/\+/g, "plus").replace(/#/g, "sharp").replace(/\./g, "").replace(/ /g, "-") %>)
99
<%_ } _%>
1010
1111
[<%= plugins.topics.list[plugins.topics.list.length-1].name %>](https://github.com/<%= user.login %>?tab=stars)

0 commit comments

Comments
 (0)
Failed to load comments.