Hi @zwbetz,
I don’t know it’s correct or not. I think I found the search bar for the post section here.
But I can’t find the template of the tag section.
I would like to ask how I can add the search bar for the tag section?
Thank you
Hi @zwbetz,
I don’t know it’s correct or not. I think I found the search bar for the post section here.
But I can’t find the template of the tag section.
I would like to ask how I can add the search bar for the tag section?
Thank you
The tags template is here https://github.com/zwbetz-gh/cupper-hugo-theme/blob/master/layouts/_default/terms.html
To add the search bar to it, you need to add the input
element there, and give the ul
element the attribute id="list"