diff --git a/source/templates/markdown/partials/topics.ejs b/source/templates/markdown/partials/topics.ejs new file mode 100644 index 00000000..c4355f39 --- /dev/null +++ b/source/templates/markdown/partials/topics.ejs @@ -0,0 +1,12 @@ +<%_ if (plugins.topics) { _%> +**[📌 Starred topics](https://github.com/<%= user.login %>?tab=stars)** + <%_ if (plugins.topics.error) { _%> +<%= plugins.topics.error.message _%> + <%_ } else if (plugins.topics.list.length) { _%> + <%_ for (const {name, icon} of plugins.topics.list) { _%> +* [<%= name %>](https://github.com/topics/<%= name.toLocaleLowerCase().replace(/ /g, "-") %>) + <%_ } _%> + <%_ } else { _%> +Empty RSS feed + <%_ } _%> +<%_ } _%> \ No newline at end of file