Exclude Tags on Author Page

Hey all, trust all is well at your side.

Quick Question on filtering posts visible on author.hbs in Casper Theme - Is there a way to filter out some tags from the list of posts on author page. I don’t wanna show any post tagged with “noshow”. I tried with “FOREACH” and “GET”.

With GET it worked but now it shows the same author posts in other author pages as well. :confused: I guess I get all the posts instead specific to that author slug.

Any support is appreciated. Currently my author.hbs looks like -

{{#get "posts" filter="tag:-[noshow]" include="tags,authors" }}
	        {{#foreach posts}}
                {{!-- The tag below includes the markup for each post - partials/post-card.hbs --}}
                {{> "post-card"}}
           {{/foreach}} {{/get}}

Revised the GET to:

{{#get “posts” filter=“tag:-[noshow]+author:{{author.slug}}” include=“tags,authors” }}

It works now but is that the right way or a dirty hack?