feat(top-tags): surface top tags and genres across relevant views

This commit is contained in:
Cory Dransfeldt 2025-05-15 08:54:59 -07:00
parent e133fd959d
commit 4f15e88074
No known key found for this signature in database
10 changed files with 94 additions and 9 deletions

View file

@ -6,6 +6,10 @@ description: Search through posts and other content on my site.
<h2 class="page-title">Search</h2>
<p>You can find <a href="/posts">posts</a>, <a href="/links">links</a>, <a href="/music/#artists">artists</a>, genres, <a href="/watching#movies">movies</a>, <a href="/watching#tv">shows</a> and <a href="/books">books</a> via the field below (though it only surfaces movies and shows I've watched and books I've written something about). <a href="/tags">You can also browse my tags list</a>.</p>
{% render "blocks/top-tags.liquid"
label:"Top tags"
tags:topTags.tags
%}
<noscript>
<p><mark>If you're seeing this it means that you've (quite likely) disabled JavaScript (that's a totally valid choice!).</mark> You can search for anything on my site using the form below, but your query will be routed through <a href="https://duckduckgo.com">DuckDuckGo</a>.</p>
<p><mark>Type something in and hit enter.</mark></p>