Filter page-list based on tag?

#1

i’m using {{#get “pages” as |pages-list|}} on my tags page which works great but returns all pages.

how can i make it filter for the tag of the tag page i’m on?

for example: www.example.com/tag/minecraft/ to have it obtain the tag of the page to filter the get with the “minecraft” tag

thanks in advance!

#2

Take a look at this section of the docs: