lipu-tenpo / liputenpo.org

https://liputenpo.org using https://www.11ty.dev/
https://liputenpo.org/
3 stars 1 forks source link

hide `toki/` titles with no toki #41

Open alifeee opened 5 months ago

alifeee commented 5 months ago

when on the toki/ page, titles (like sona/ma/musi/etc) should be hidden, when they contain no content

for example, when the search bar is used

the current way that search works (hide toki if they do not match search query) will make this difficult to do. search might have to be rethunk

alifeee commented 4 months ago

Use Alpine in a similar way to the toki, but with a has in the title of "author", "title", "issue", of each of the containing toki, separated by newline, and filter with string.contains, the same way it works on the toki

This should catch the same search, and newlines should be ignored