org.open_graph

Classes

OpenGraphMixin

Module Contents

class org.open_graph.OpenGraphMixin[source]
og_description_attr = 'lead'[source]
property og_title: str | None[source]
property og_type: str[source]
property og_url: str[source]
property og_model: Any[source]
property og_site_name: str[source]

Name of the overall Website

og_image_source() str | None[source]
og_image() onegov.file.File | None[source]

File object to use for the site image.

og_image_url() str | None[source]
property og_description: str | None[source]
property og_image_alt: str | None[source]
property og_image_type: str | None[source]
property og_image_width: str | None[source]
property og_image_height: str | None[source]
og_locale() str | None[source]
property og_locale_alternate: Iterator[str][source]
is_image_file(file: onegov.file.File) bool[source]
is_internal(path: str) bool[source]