Skip to content

Commit bfc660c

Browse files
fix(temple): wrap @app in string in root layout template. (#42)
Does things the same way as in other generator root layouts: wraps content of `@app` in a string.
1 parent d3952f2 commit bfc660c

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

priv/templates/temple/lib/layouts/root_layout.ex

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ defmodule <%= @app_module %>.RootLayout do
1313
meta name: "viewport", content: "width=device-width, initial-scale=1.0"
1414

1515
title do
16-
[@page[:title], <%= @app %>]
16+
[@page[:title], "<%= @app %>"]
1717
|> Enum.filter(& &1)
1818
|> Enum.intersperse("|")
1919
|> Enum.join(" ")
@@ -36,4 +36,3 @@ defmodule <%= @app_module %>.RootLayout do
3636
end
3737
end
3838
end
39-

0 commit comments

Comments
 (0)