{{# Set up vars for use later in the template #}} {{# This will hold a space-separated list of each book with an accompanying sermon. This allows the JavaScript to remove any books not in this list. #}} {{ var:books is="" }} {{ taxonomy:listing type = "ref_tag" folder = "/sermons*" }} {{ var:books is="{var:books} {name|lower|slugify}" }} {{ if first }} {{ var:books_total is="{total_results}" }} {{ /if }} {{ /taxonomy:listing }}