Skip to main content

1716979011262

wagtail_meta

A library to manage meta-tags at runtime for your Wagtail site.

Allows for using context variables in a custom HTML meta tag, or the tag value content itself.

Quick start

  1. Install the package via pip:

    pip install wagtail_meta
    
  2. Add 'wagtail_meta' to your INSTALLED_APPS setting like this:

    INSTALLED_APPS = [
       # ...,
       'wagtail_meta',
       # ...,
    ]
    
  3. Use the template tag in your base template

{% load wagtail_meta %}
<!DOCTYPE html>
<html>
   <head>
       ...

       {% metatags %}
       {# Optionally call with model argument {% metatags settings.wagtail_meta.metatags.tags %} #}

       ...
   </head>
   <body>
       ...
   </body>
</html>

Download files

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

Source Distribution

wagtail_meta-1.0.2.tar.gz (16.2 kB view details)

Uploaded Source

File details

Details for the file wagtail_meta-1.0.2.tar.gz.

File metadata

  • Download URL: wagtail_meta-1.0.2.tar.gz
  • Upload date:
  • Size: 16.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.11.6

File hashes

Hashes for wagtail_meta-1.0.2.tar.gz
Algorithm Hash digest
SHA256 62dc07be305b51d109666583271849506b523c676aa0662b100ff3a2f7122a97
MD5 0256953b3b6e7fa8f9d1492f809054d9
BLAKE2b-256 67fec61efeb91e98022f3089aaabfd97242a02c6ee7615769426f030f7b00033

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

1.0.2 This release

1 file

1.0.1

1 file

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page