Skip to content

Commit

Permalink
Feat: Add default value for template in layout schema
Browse files Browse the repository at this point in the history
Signed-off-by: Eduardo Borsa <[email protected]>
  • Loading branch information
edborsa committed Dec 9, 2023
1 parent cbe3bf7 commit 346d971
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/beacon/content/layout.ex
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ defmodule Beacon.Content.Layout do
schema "beacon_layouts" do
field :site, Beacon.Types.Site
field :title, :string
field :template, :string
field :template, :string, default: "<%= @inner_content %>"
field :meta_tags, {:array, :map}, default: []
field :resource_links, {:array, :map}, default: []

Expand Down

0 comments on commit 346d971

Please sign in to comment.