View Source SEO.OpenGraph.Profile (SEO v0.1.11)

Resources

Summary

Functions

Build a OpenGraph Profile

Attributes

  • content (:any) - Defaults to nil.
  • property (:string) - Defaults to "profile".

Types

t()

@type t() :: %SEO.OpenGraph.Profile{
  first_name: String.t(),
  gender: String.t(),
  last_name: String.t(),
  namespace: String.t(),
  username: String.t()
}

Functions

build(attrs, default \\ nil)

Build a OpenGraph Profile

  • :first_name - A name normally given to an individual by a parent or self-chosen.
  • :last_name - A name inherited from a family or marriage and by which the individual is commonly known.
  • :username - A short unique string to identify them.
  • :gender - Their gender.

meta(assigns)

Attributes

  • content (:any) - Defaults to nil.
  • property (:string) - Defaults to "profile".