Hello,
I was wondering/hoping there was a way to set default meta tags, such as for description and title. I see there's a setting for default keywords but not any other type of meta tag. I tried creating a mixin class with various properties that would act as defaults for the meta tags, e.g.:
class DefaultMetaTags:
title = 'title'
description = 'meta description'
and
class DefaultMetaTags(MetadataMixin):
title = 'title'
description = 'meta description'
but neither seem to do the trick. The goal would be to either set these defaults using a mixin or something in the settings file so I don't have to set these properties on every single view for websites I build. Any help or suggestions would be appreciated, but if it's not possible I can definitely contribute to this project to make it so.
Thanks
Hello,
I was wondering/hoping there was a way to set default meta tags, such as for description and title. I see there's a setting for default keywords but not any other type of meta tag. I tried creating a mixin class with various properties that would act as defaults for the meta tags, e.g.:
and
but neither seem to do the trick. The goal would be to either set these defaults using a mixin or something in the settings file so I don't have to set these properties on every single view for websites I build. Any help or suggestions would be appreciated, but if it's not possible I can definitely contribute to this project to make it so.
Thanks