Skip to content

Commit

Permalink
up-for-grabs#1160 reinclude list for popular tags rendering
Browse files Browse the repository at this point in the history
  • Loading branch information
cweave committed Oct 23, 2022
1 parent dd588b4 commit 1c2b7ed
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
8 changes: 5 additions & 3 deletions _includes/scripts.html
Original file line number Diff line number Diff line change
Expand Up @@ -46,11 +46,13 @@
</div>
<div class="filters-panel cf">
<label class="filter-label" >Popular tags:</label>
<div class="popular-tags">
<ul class="popular-tags">
<% _.each(popularTags, function(entry, key){ %>
<a title="Popular Tag: <%-entry.name%>" tabindex="0"><%-entry.name%> <span class="popular-tags__frequency">(<%-entry.frequency%>)</span></a>
<li>
<a title="Popular Tag: <%-entry.name%>" tabindex="0"><%-entry.name%> <span class="popular-tags__frequency">(<%-entry.frequency%>)</span></a>
</li>
<% }) %>
</div>
</ul>
</div>
<div class="projects">
<% let count=0 %>
Expand Down
5 changes: 5 additions & 0 deletions stylesheets/stylesheet.css
Original file line number Diff line number Diff line change
Expand Up @@ -874,6 +874,11 @@ form {
gap: 1em 0.5em;
}

ul.popular-tags li {
list-style: none;
padding-left: 0;
}

.popular-tags a {
display: inline-flex;
align-content: center;
Expand Down

0 comments on commit 1c2b7ed

Please sign in to comment.