diff --git a/source/plugins/topics/metadata.yml b/source/plugins/topics/metadata.yml index 1a57a613..c4d4afbf 100644 --- a/source/plugins/topics/metadata.yml +++ b/source/plugins/topics/metadata.yml @@ -19,6 +19,7 @@ inputs: default: starred values: - starred # Display starred topics as labels + - icons # Display starred topics as icons - mastered # Display starred topics as mastered/known technologies icons # Topics sorting order diff --git a/source/templates/classic/partials/topics.ejs b/source/templates/classic/partials/topics.ejs index 8dc9dcd6..3be1d782 100644 --- a/source/templates/classic/partials/topics.ejs +++ b/source/templates/classic/partials/topics.ejs @@ -2,7 +2,7 @@

- <%= {starred:"Starred topics", mastered:"Mastered technologies and topics"}[plugins.topics.mode] %> + <%= {starred:"Starred topics", icons:"Starred topics", mastered:"Mastered technologies and topics"}[plugins.topics.mode] %>

<% if (plugins.topics.error) { %> @@ -19,7 +19,7 @@ <% for (const {name, description} of plugins.topics.list) { %>
<%= name.toLocaleLowerCase() %>
<% } %> - <% } else if (plugins.topics.mode === "mastered") { %> + <% } else if ((plugins.topics.mode === "mastered")||(plugins.topics.mode === "icons")) { %> <% for (const {name, icon} of plugins.topics.list) { %> <% if (icon) { %> <%= name %>