Socket
Socket
Sign inDemoInstall

django-easy-metatags

Package Overview
Dependencies
0
Maintainers
1
Alerts
File Explorer

Install Socket

Detect and block malicious and high-risk dependencies

Install

    django-easy-metatags

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


Maintainers
1

Readme

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!

FAQs


Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc