This is an automated email from the ASF dual-hosted git repository.

liujun pushed a commit to branch mkdocs
in repository https://gitbox.apache.org/repos/asf/dubbo-website.git

commit e7dbeaacfc1392af31724f26b33db9a6659efed9
Author: ken.lj <[email protected]>
AuthorDate: Thu Aug 13 15:59:28 2020 +0800

    customize 404 page
---
 overrides/404.html | 31 +++++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)

diff --git a/overrides/404.html b/overrides/404.html
new file mode 100755
index 0000000..9d0a73a
--- /dev/null
+++ b/overrides/404.html
@@ -0,0 +1,31 @@
+{#-
+  This file was automatically generated - do not edit
+-#}
+{% extends "base.html" %}
+{% block content %}
+<!-- 添加Apache校验项开始 -->
+<!-- 只加a标签和img标签,不要有其余的标签出现,同时设置style="display: none" -->
+<a style="display: none" 
href="http://www.apache.org/events/current-event";>Apache Dubbo is an effort 
undergoing incubation at The Apache Software Foundation (ASF), sponsored by the 
Incubator. Incubation is required of all newly accepted projects until a 
further review indicates that the infrastructure, communications, and decision 
making process have stabilized in a manner consistent with other successful ASF 
projects. While incubation status is not necessarily a reflection of the comple 
[...]
+<img style="display: none" src="http://dubbo.apache.org/img/apache_logo.png"/>
+<ul style="display: none">
+  <p class="header">ASF</p>
+  <li><a href="http://www.apache.org";>Foundation</a></li>
+  <li><a href="http://www.apache.org/licenses/";>License</a></li>
+  <li><a href="http://www.apache.org/events/current-event";>Events</a></li>
+  <li><a 
href="http://www.apache.org/foundation/sponsorship.html";>Sponsorship</a></li>
+  <li><a href="http://www.apache.org/foundation/thanks.html";>Thanks</a></li>
+</ul>
+<p style="display: none">Copyright © 2018 The Apache Software Foundation. 
Apache and the Apache feather logo are trademarks of The Apache Software 
Foundation.</p>
+<a style="display: none" href="http://www.apache.org/security/";>Security</a>
+<!-- 添加Apache校验项结束 -->
+<script src="//cdn.jsdelivr.net/npm/js-cookie@2/src/js.cookie.min.js"></script>
+<script>
+  window.rootPath = '';
+  window.defaultLanguage = 'en-us';
+  var lang = Cookies.get('docsite_language');
+  if (!lang) {
+    lang = 'en-us';
+  }
+  window.location = window.rootPath + '/' + lang;
+</script>
+{% endblock %}

Reply via email to