Structure template folder
Move errors to their own folder
This commit is contained in:
parent
3715f9de64
commit
f2de8111c9
3 changed files with 4 additions and 4 deletions
|
@ -26,11 +26,11 @@ pub struct Layout<'a, T: 'a + fmt::Display> {
|
|||
}
|
||||
|
||||
#[derive(BartDisplay)]
|
||||
#[template = "templates/404.html"]
|
||||
#[template = "templates/error/404.html"]
|
||||
struct NotFound;
|
||||
|
||||
#[derive(BartDisplay)]
|
||||
#[template = "templates/500.html"]
|
||||
#[template = "templates/error/500.html"]
|
||||
struct InternalServerError;
|
||||
|
||||
pub struct Site {
|
||||
|
|
|
@ -8,4 +8,4 @@
|
|||
</article>
|
||||
</div>
|
||||
|
||||
{{>footer/default.html}}
|
||||
{{>../footer/default.html}}
|
|
@ -8,4 +8,4 @@
|
|||
</article>
|
||||
</div>
|
||||
|
||||
{{>footer/default.html}}
|
||||
{{>../footer/default.html}}
|
Loading…
Reference in a new issue