Fix slugs in topics plugin
This commit is contained in:
@@ -5,7 +5,7 @@
|
|||||||
<%= plugins.topics.error.message _%>
|
<%= plugins.topics.error.message _%>
|
||||||
<%_ } else if (plugins.topics.list.length) { _%>
|
<%_ } else if (plugins.topics.list.length) { _%>
|
||||||
<%_ for (const {name, icon24} of plugins.topics.list.slice(0, plugins.topics.list.length-1)) { _%>
|
<%_ for (const {name, icon24} of plugins.topics.list.slice(0, plugins.topics.list.length-1)) { _%>
|
||||||
[ %>&color=222&logo=<%= icon24 %>)](https://github.com/topics/<%= name.toLocaleLowerCase().replace(/ /g, "-") %>)
|
[ %>&color=222&logo=<%= icon24 %>)](https://github.com/topics/<%= name.toLocaleLowerCase().replace(/\+/g, "plus").replace(/#/g, "sharp").replace(/\./g, "").replace(/ /g, "-") %>)
|
||||||
<%_ } _%>
|
<%_ } _%>
|
||||||
|
|
||||||
[<%= plugins.topics.list[plugins.topics.list.length-1].name %>](https://github.com/<%= user.login %>?tab=stars)
|
[<%= plugins.topics.list[plugins.topics.list.length-1].name %>](https://github.com/<%= user.login %>?tab=stars)
|
||||||
|
|||||||
Reference in New Issue
Block a user