nephila / djangocms-page-meta

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

Home Page:https://djangocms-page-meta.readthedocs.io/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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/.

About

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

https://djangocms-page-meta.readthedocs.io/

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:Python 96.7%Language:HTML 3.3%Language:CSS 0.1%