From 52480d554abec6ef59329daa89d8f5b06ad7b824 Mon Sep 17 00:00:00 2001 From: Robin Ward Date: Tue, 14 Nov 2017 11:57:17 -0500 Subject: [PATCH] UX: Support for custom 404 pages --- app/views/exceptions/not_found.html.erb | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/app/views/exceptions/not_found.html.erb b/app/views/exceptions/not_found.html.erb index 32d1532fa04..0e7e8057cf4 100644 --- a/app/views/exceptions/not_found.html.erb +++ b/app/views/exceptions/not_found.html.erb @@ -1,7 +1,7 @@ -<% local_domain = "#{request.protocol}#{request.host_with_port}" %> -

<%= t 'page_not_found.title' %>

+<%= raw build_plugin_html 'server:not-found-before-topics' %> + <% unless SiteSetting.login_required? && current_user.nil? %>