Dynamic HTML title

This commit is contained in:
Alex Ling
2020-12-31 14:07:10 +00:00
parent 5685dd1cc5
commit af0913df64
5 changed files with 37 additions and 32 deletions

View File

@@ -19,6 +19,7 @@ macro layout(name)
rescue e
message = e.to_s
Logger.error message
page = "Error"
render "src/views/message.html.ecr", "src/views/layout.html.ecr"
end
end