View Source Beacon.Content.Page (Beacon v0.2.2)

Pages are the central piece of content in Beacon used to render templates with meta tags, components, and other resources.

Pages are rendered as a LiveView handled by Beacon.

Pages can be extended with custom fields, see Beacon.Content.PageField

SEO

Meta Tags

Raw Schema

Do not create or edit 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.Page{
  __meta__: term(),
  description: term(),
  extra: term(),
  format: term(),
  helpers: term(),
  id: term(),
  inserted_at: term(),
  layout: term(),
  layout_id: term(),
  meta_tags: term(),
  order: term(),
  path: term(),
  raw_schema: term(),
  site: term(),
  template: term(),
  title: term(),
  updated_at: term(),
  variants: term()
}

Functions

Current data structure version.

Bump when schema changes.