INSTALLED_APPS and setup default values:
To render the meta tags, simply add the
meta dictionary/object to the template context, and add this inside the
<head> tags in your main layout file:
On its most simple form: all you have to do is set an instance of
context['meta'] on your view.py files.
Make sure every view has a
meta value in their context, otherwise
<meta /> won't be rendered.
To render Flayyer URL as
The most low-level views are just functions. Make sure to pass the
context back to the
To render a Flayyer template when a page is shared can be done by overriding default values:
Class-based views provide an alternative way to implement views as Python objects instead of functions. They do not replace function-based views, but have certain differences and advantages when compared to function-based views.
If you don't override the
context_object_name attribute of the Views, the current object in the context is available as
django.views.generic.DetailView and as
Similar to the previous section, we need to set an instance of
Meta to the
Another way of setting the
<meta /> tags is provided by
If you inspect the
<head /> of your HTML you should see the
og:image tags with URLs to