Skip to content

Commit

Permalink
Feat: Add default value for template in layout schema (#383)
Browse files Browse the repository at this point in the history
Signed-off-by: Eduardo Borsa <borsa.dado@gmail.com>
  • Loading branch information
edborsa authored Dec 15, 2023
1 parent c73bd9b commit b44661d
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 b44661d

Please sign in to comment.