diff options
| author | Omar Roth <omarroth@hotmail.com> | 2018-08-15 20:31:47 -0500 |
|---|---|---|
| committer | Omar Roth <omarroth@hotmail.com> | 2018-08-15 20:31:47 -0500 |
| commit | b72f3c22748de03b49ebb8bdb1b735455a33a69a (patch) | |
| tree | af58e9ef546f07eec1813ce32b37e09668e35e82 | |
| parent | 74cf3d18d0d6d6814185eb0d6847201be4e46afa (diff) | |
| download | invidious-b72f3c22748de03b49ebb8bdb1b735455a33a69a.tar.gz invidious-b72f3c22748de03b49ebb8bdb1b735455a33a69a.tar.bz2 invidious-b72f3c22748de03b49ebb8bdb1b735455a33a69a.zip | |
Rename 'layout' to 'template'
| -rw-r--r-- | src/invidious/helpers/macros.cr | 2 | ||||
| -rw-r--r-- | src/invidious/views/template.ecr (renamed from src/invidious/views/layout.ecr) | 0 |
2 files changed, 1 insertions, 1 deletions
diff --git a/src/invidious/helpers/macros.cr b/src/invidious/helpers/macros.cr index bcb01c4b..977b1fbc 100644 --- a/src/invidious/helpers/macros.cr +++ b/src/invidious/helpers/macros.cr @@ -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 diff --git a/src/invidious/views/layout.ecr b/src/invidious/views/template.ecr index 3646c6e1..3646c6e1 100644 --- a/src/invidious/views/layout.ecr +++ b/src/invidious/views/template.ecr |
