stuff
This commit is contained in:
20
lib/CW/Template/Error/404.pm
Normal file
20
lib/CW/Template/Error/404.pm
Normal file
@@ -0,0 +1,20 @@
|
||||
package CW::Template::Error::404;
|
||||
|
||||
use Moo;
|
||||
|
||||
extends 'CW::Template';
|
||||
|
||||
sub render {
|
||||
return [
|
||||
h2 => { style => "margin: 0" } =>
|
||||
[q[You are searching for something that seemingly doesn't exist.]],
|
||||
div => [
|
||||
p => { style => "margin: 0" } =>
|
||||
["Perhaps this is the sign you needed to create it yourself?"],
|
||||
img =>
|
||||
{ class => 'alexandria', src => "/static/images/alexandria.jpg" }
|
||||
]
|
||||
];
|
||||
}
|
||||
|
||||
1;
|
||||
Reference in New Issue
Block a user