2025-2-26-fixed
This commit is contained in:
18
themes/fluid/layout/404.ejs
Normal file
18
themes/fluid/layout/404.ejs
Normal file
@ -0,0 +1,18 @@
|
||||
<%
|
||||
page.layout = "404"
|
||||
page.title = theme.page404.title || __('page404.title')
|
||||
page.subtitle = theme.page404.subtitle || __('page404.subtitle')
|
||||
page.banner_img = theme.page404.banner_img
|
||||
page.banner_img_height = theme.page404.banner_img_height
|
||||
page.banner_mask_alpha = theme.page404.banner_mask_alpha
|
||||
%>
|
||||
|
||||
<script>
|
||||
function redirect() {
|
||||
location.href = "<%- url_for('/') %>";
|
||||
}
|
||||
|
||||
<% if (theme.page404.redirect_delay) { %>
|
||||
setTimeout(redirect, <%= parseInt(theme.page404.redirect_delay) %>)
|
||||
<% } %>
|
||||
</script>
|
||||
Reference in New Issue
Block a user