diff --git a/lib/doggo.ex b/lib/doggo.ex index c41da32a..f79ad20e 100644 --- a/lib/doggo.ex +++ b/lib/doggo.ex @@ -74,7 +74,7 @@ defmodule Doggo do @doc type: :component attr :title, :string, - required: true, + default: nil, doc: "The page title. Will be set as `h1`." attr :class, :any, @@ -109,7 +109,7 @@ defmodule Doggo do <%= render_slot(navigation) %> -

<%= @title %>

+

<%= @title %>

<.link :for={action <- @action}