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
-
Add "metatags" to your INSTALLED_APPS setting like this::
INSTALLED_APPS = [ ... 'metatags', ]
-
Run
python manage.py migrate
to create the polls models. -
Load metatags templates tags in base.html::
{% load metatags %}
-
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>
-
Visit http://127.0.0.1:8000/admin/metatags/metatag/ to add meta tags.
-
In slug add some unique feature of url.
-
Enjoy!
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.