implemented custom tag for feature flagging in templates