Skip to main content

A Django app to add meta tags to any page of your website.

Project description

Django Easy Metatags

Django Easy Metatags is a package for adding meta tags from admin panel to any url of your website.

Quick start

  1. Add "metatags" to your INSTALLED_APPS setting like this::

    INSTALLED_APPS = [
        ...
        'metatags',
    ]
    
  2. Run python manage.py migrate to create the polls models.

  3. Load metatags templates tags in base.html::

    {% load metatags %}

  4. Add metatags tag in head of body or any page where you want to add meta tags to.

    <head>
        <meta charset="UTF-8">
        <meta name="viewport" content="width=device-width, initial-scale=1.0">
        {% metatags request.path %}
        <title>Document</title>
    </head>
    
  5. Visit http://127.0.0.1:8000/admin/metatags/metatag/ to add meta tags.

  6. In slug add some unique feature of url.

  7. Enjoy!

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

django_easy_metatags-0.2.tar.gz (2.9 kB view hashes)

Uploaded Source

Built Distribution

django_easy_metatags-0.2-py3-none-any.whl (5.5 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page