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.
Source Distribution
Built Distribution
Close
Hashes for django_easy_metatags-0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d339b5a1ff3d68b9f79b1622d2bbfbba81b7b4cc871b4d1acb0cffb3eeb3cd8b |
|
MD5 | 3733c06274770cc4f0794584dc413b8e |
|
BLAKE2b-256 | 1717fe34074d669200925a01c89956d280b651a4cd91ebf58a2a83bee890040b |