Rename 'layout' to 'template'

This commit is contained in:
Omar Roth 2018-08-15 20:31:47 -05:00
parent 74cf3d18d0
commit b72f3c2274
2 changed files with 1 additions and 1 deletions

View file

@ -9,7 +9,7 @@ macro add_mapping(mapping)
DB.mapping({{mapping}})
end
macro templated(filename, template = "layout")
macro templated(filename, template = "template")
render "src/invidious/views/#{{{filename}}}.ecr", "src/invidious/views/#{{{template}}}.ecr"
end