View Source Mobilizon.Service.Metadata protocol (Mobilizon v5.0.0-beta.1)
Service that allows producing metadata HTML tags about content
Summary
Functions
Build tags for an entity. Returns a list of Phoenix.HTML.safe/0
tags.
Types
@type t() :: term()
All the types that implement this protocol.
Functions
@spec build_tags(any(), String.t()) :: [Phoenix.HTML.safe()]
Build tags for an entity. Returns a list of Phoenix.HTML.safe/0
tags.
Locale can be provided to generate fallback descriptions.