Search code examples
pythondjangodjango-cms

How do you add title and meta description on a DjangoCMS template?


i'm working with djangoCMS and i have created all the templates and they are working fine, now my issue is on the djangoCMS page creation fields i fill a couple of fields, the page name, slug, menu title and page title. How do i add and display meta descriptions on my pages?


Solution

  • I ran into the same problem and I managed to solve by the below code in my base template

    {% page_attribute "meta_description" %}