Skip to content

OpenGraph, Twitter Card and Google+ snippet tags for django CMS 3 pages

License

Notifications You must be signed in to change notification settings

nephila/djangocms-page-meta

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

djangocms-page-meta

Join the Gitter chat Latest PyPI version Python versions Latest CI build status Test coverage Code Climate License

Meta tag information for django CMS 3 pages

Python: 3.9, 3.10, 3.11

Django: 3.2, 4.1, 4.2

django CMS: 3.9, 3.11

Quickstart

  1. A working django CMS environment is required for djangocms-page-meta to work. Refer to django CMS documentation for how to install and configure django CMS.

  2. Install djangocms-page-meta:

    $ pip install djangocms-page-meta
    

    or from the repository:

    pip install -e git+https://github.com/nephila/djangocms-page-meta#egg=djangocms-page-meta
    
  3. Then add it to INSTALLED_APPS along with its dependencies:

    "filer",
    "meta",
    "easy_thumbnails",
    "djangocms_page_meta",
    
  4. Migrate the database:

    $ python manage.py migrate
    
  5. Configuration:

    See usage and configuration section in the documentation.

  6. That's all!

Note

Enabling this will hide django CMS own Meta description field to keep all the meta information in the same part of the interface. If the django CMS field is set, it will still be shown (and used by djangocms-page-meta).

django-app-enabler support

django-app-enabler is supported.

You can either

  • Installation & configuration: python -mapp_enabler install djangocms-page-meta
  • Autoconfiguration: python -mapp_enabler enable djangocms_page_meta

Fully using this package will require some template changes that cannot be modified by django-app-enabler:

  • Load template tag in the page like outlined in usage page;
  • Run migrations: python manage.py migrate

Check usage documentation for details.

Dependencies

Documentation

For package documentation see https://djangocms-page-meta.readthedocs.io/.