UX: Support for custom 404 pages

This commit is contained in:
Robin Ward 2017-11-14 11:57:17 -05:00
parent 680696fc04
commit 52480d554a
1 changed files with 4 additions and 2 deletions

View File

@ -1,7 +1,7 @@
<% local_domain = "#{request.protocol}#{request.host_with_port}" %>
<h1 class="page-not-found"><%= t 'page_not_found.title' %></h1>
<%= raw build_plugin_html 'server:not-found-before-topics' %>
<% unless SiteSetting.login_required? && current_user.nil? %>
<div class="row page-not-found-topics">
<div class="span8 popular-topics">
@ -28,6 +28,8 @@
<% end %>
<%- unless @hide_google %>
<% local_domain = "#{request.protocol}#{request.host_with_port}" %>
<div class="row">
<div class="span10 page-not-found-search">
<h2><%= t 'page_not_found.search_title' %></h2>