Skip to content
项目

关于

可插拔应用,让 Django 开发者能够快速为 HTML 响应添加 meta 标签,以及 OpenGraph、Twitter 和 Google Plus 属性。

网站与应用开发

这些数字如何统计

实测星标增长

24小时
0
7天
0
15天
+1
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

django-meta

Join the Gitter chat Latest PyPI version Python versions Latest CI build status Test coverage Code Climate License

Django-Meta is a pluggable Django app that allows developers to easily add meta tags and OpenGraph,
Twitter, and Schema.org properties to their HTML responses.

By adding these tags to their pages, developers can improve the way their pages are displayed in search engine results and on social media platforms.

Warning

INCOMPATIBLE CHANGE: as of version 2.0 django-meta has no longer supports Google+, basic Schema.org support has been introduced.

See https://django-meta.readthedocs.io/en/latest/installation.html

4.2 to 6.0 (newer versions might work but are not tested yet)

Python 3.11 to 3.14

Django-Meta supports a wide range of meta tags, including:

  • Description
  • Keywords
  • Robots
  • Author
  • Google Analytics
  • Open Graph (OG) tags
  • Twitter Cards
  • Schema.org properties

To add meta tags to your pages using Django-Meta, you can use the provided template tags or use the view-method and model-method interface to provide and handle meta information.

django-meta provides a view-method and model-method interface to provide and handle meta informations

For more details check documentation.

By default, Django-Meta is designed to work with HTML responses.

However, it can also be configured to work with non-HTML responses, such as JSON or XML.

To do this, you can define your own meta classes and register them with the django-meta app.

django-meta has been started by Branko Vukelic.

Current maintainer: Iacopo Spalletti

See AUTHORS file for the complete list of contributors

See third_party_apps

Please report all bugs to our Github issue tracker.

探索相关项目

加载中…