View Source Beacon.Content.Layout (Beacon v0.2.1)

The wrapper content for a Beacon.Content.Page.

Do not create or layouts pages manually

Use the public functions in Beacon.Content instead. The functions in that module guarantee that all dependencies are created correctly and all processes are updated. Manipulating data manually will most likely result in inconsistent behavior and crashes.

Summary

Functions

Current data structure version.

Types

@type t() :: %Beacon.Content.Layout{
  __meta__: term(),
  id: String.t(),
  inserted_at: DateTime.t(),
  meta_tags: [map()],
  resource_links: [map()],
  site: Beacon.Types.Site.t(),
  template: String.t(),
  title: String.t(),
  updated_at: DateTime.t()
}

Functions

Current data structure version.

Bump when schema changes.