def get_canonical_url(self, *args, **kwargs):
        if self.is_homepage:
            return "/"
        return self.get_absolute_url()
This method should be reviewed
dataset/ETHPy150Open rochacbruno/quokka/quokka/core/models/channel.py/Channel.get_canonical_url