Repository: sling-site Updated Branches: refs/heads/master b6aaf0c68 -> 4c695ebb0
generate the error pages from MDs with the same template as all other pages Project: http://git-wip-us.apache.org/repos/asf/sling-site/repo Commit: http://git-wip-us.apache.org/repos/asf/sling-site/commit/4c695ebb Tree: http://git-wip-us.apache.org/repos/asf/sling-site/tree/4c695ebb Diff: http://git-wip-us.apache.org/repos/asf/sling-site/diff/4c695ebb Branch: refs/heads/master Commit: 4c695ebb0fc147b46c4d666359f227071bd7c00f Parents: b6aaf0c Author: Konrad Windszus <k...@apache.org> Authored: Sat Oct 7 12:31:51 2017 +0200 Committer: Konrad Windszus <k...@apache.org> Committed: Sat Oct 7 12:31:51 2017 +0200 ---------------------------------------------------------------------- src/main/jbake/assets/errors/403.html | 39 ----------------------------- src/main/jbake/assets/errors/404.html | 40 ------------------------------ src/main/jbake/content/errors/403.md | 12 +++++++++ src/main/jbake/content/errors/404.md | 13 ++++++++++ 4 files changed, 25 insertions(+), 79 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/sling-site/blob/4c695ebb/src/main/jbake/assets/errors/403.html ---------------------------------------------------------------------- diff --git a/src/main/jbake/assets/errors/403.html b/src/main/jbake/assets/errors/403.html deleted file mode 100644 index cea2617..0000000 --- a/src/main/jbake/assets/errors/403.html +++ /dev/null @@ -1,39 +0,0 @@ -<!DOCTYPE html><html lang="en"> - <head> -<meta charset="utf-8"/> - <title>Apache Sling</title> - <link rel="stylesheet" href="/res/css/site.css"/> - <link rel="icon" href="/res/favicon.ico"/> - <div class="title"> - <div class="logo"> - <a href="http://sling.apache.org"> - <img border="0" alt="Apache Sling" src="/res/logos/sling.svg"/> - </a> - </div><div class="header"> - <a href="http://www.apache.org"> - <img border="0" alt="Apache" src="/res/logos/apache.png"/> - </a> - </div> - </div><h1 class="draft">DRAFT 2017 WEBSITE - SLING-6955</h1> - </head><body> -<div class="menu"> - <strong><a href="/documentation.html">Documentation</a></strong><br/><a href="/documentation/getting-started.html">Getting Started</a><br/><a href="/documentation/the-sling-engine.html">The Sling Engine</a><br/><a href="/documentation/development.html">Development</a><br/><a href="/documentation/bundles.html">Bundles</a><br/><a href="/documentation/tutorials-how-tos.html">Tutorials & How-Tos</a><br/><a href="/documentation/configuration.html">Configuration</a><p></p><a href="http://s.apache.org/sling.wiki">Wiki</a><br/><a href="http://s.apache.org/sling.faq">FAQ</a><br/><p></p><strong>API Docs</strong><br/><a href="/apidocs/sling9/index.html">Sling 9</a><br/><a href="/apidocs/sling8/index.html">Sling 8</a><br/><a href="/apidocs/sling7/index.html">Sling 7</a><br/><a href="/apidocs/sling6/index.html">Sling 6</a><br/><a href="/apidocs/sling5/index.html">Sling 5</a><br/><a href="/javadoc-io.html">Archive at javadoc.io</a><br/><p></p><strong>Project info</strong><br/><a h ref="/downloads.cgi">Downloads</a><br/><a href="http://www.apache.org/licenses/">License</a><br/><a href="/contributing.html">Contributing</a><br/><a href="/news.html">News</a><br/><a href="/links.html">Links</a><br/><a href="/project-information.html">Project Information</a><br/><a href="https://issues.apache.org/jira/browse/SLING">Issue Tracker</a><br/><a href="http://ci.apache.org/builders/sling-trunk">Build Server</a><br/><a href="/project-information/security.html">Security</a><br/><p></p><strong>Source</strong><br/><a href="http://svn.apache.org/viewvc/sling/trunk">Subversion</a><br/><a href="git://git.apache.org/sling.git">Git</a><br/><a href="https://github.com/apache/sling">Github Mirror</a><br/><p></p><strong>Sponsorship</strong><br/><a href="http://www.apache.org/foundation/thanks.html">Thanks</a><br/><a href="http://www.apache.org/foundation/sponsorship.html">Become a Sponsor</a><br/><a href="https://donate.apache.org/">Donate!</a><br/><a href="http://www.apache.org/foun dation/buy_stuff.html">Buy Stuff</a><br/><p></p><strong><a href="/sitemap.html">Site Map</a></strong> - </div> <div class="main"> -<div class="row"><div class="small-12 columns"><section class="wrap"><header><h1>Forbidden (403)</h1></header><p>Notice: Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at . http://www.apache.org/licenses/LICENSE-2.0 . Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.</p> -<p>We're sorry, but the page you requested cannot be accessed. This may be because:</p> -<ul> - <li>You typed the address incorrectly</li> - <li>You followed a link from another site that pointed to this page.</li> -</ul> -<p>If you came to this page by following a broken link on our site, you can report the <a href="https://issues.apache.org/jira/browse/SLING">problem</a>.</p></section></div></div> -<div class="footer"> - <div class="timestamp"> - TODO display revision number here - </div><div class="trademarkFooter"> - Apache Sling, Sling, Apache, the Apache feather logo, and the Apache Sling project logo are trademarks of The Apache Software Foundation. All other marks mentioned may be trademarks or registered trademarks of their respective owners. - </div> - </div> - - </div> - </body> -</html> http://git-wip-us.apache.org/repos/asf/sling-site/blob/4c695ebb/src/main/jbake/assets/errors/404.html ---------------------------------------------------------------------- diff --git a/src/main/jbake/assets/errors/404.html b/src/main/jbake/assets/errors/404.html deleted file mode 100644 index 9f7cfb0..0000000 --- a/src/main/jbake/assets/errors/404.html +++ /dev/null @@ -1,40 +0,0 @@ -<!DOCTYPE html><html lang="en"> - <head> -<meta charset="utf-8"/> - <title>Apache Sling</title> - <link rel="stylesheet" href="/res/css/site.css"/> - <link rel="icon" href="/res/favicon.ico"/> - <div class="title"> - <div class="logo"> - <a href="http://sling.apache.org"> - <img border="0" alt="Apache Sling" src="/res/logos/sling.svg"/> - </a> - </div><div class="header"> - <a href="http://www.apache.org"> - <img border="0" alt="Apache" src="/res/logos/apache.png"/> - </a> - </div> - </div><h1 class="draft">DRAFT 2017 WEBSITE - SLING-6955</h1> - </head><body> -<div class="menu"> - <strong><a href="/documentation.html">Documentation</a></strong><br/><a href="/documentation/getting-started.html">Getting Started</a><br/><a href="/documentation/the-sling-engine.html">The Sling Engine</a><br/><a href="/documentation/development.html">Development</a><br/><a href="/documentation/bundles.html">Bundles</a><br/><a href="/documentation/tutorials-how-tos.html">Tutorials & How-Tos</a><br/><a href="/documentation/configuration.html">Configuration</a><p></p><a href="http://s.apache.org/sling.wiki">Wiki</a><br/><a href="http://s.apache.org/sling.faq">FAQ</a><br/><p></p><strong>API Docs</strong><br/><a href="/apidocs/sling9/index.html">Sling 9</a><br/><a href="/apidocs/sling8/index.html">Sling 8</a><br/><a href="/apidocs/sling7/index.html">Sling 7</a><br/><a href="/apidocs/sling6/index.html">Sling 6</a><br/><a href="/apidocs/sling5/index.html">Sling 5</a><br/><a href="/javadoc-io.html">Archive at javadoc.io</a><br/><p></p><strong>Project info</strong><br/><a h ref="/downloads.cgi">Downloads</a><br/><a href="http://www.apache.org/licenses/">License</a><br/><a href="/contributing.html">Contributing</a><br/><a href="/news.html">News</a><br/><a href="/links.html">Links</a><br/><a href="/project-information.html">Project Information</a><br/><a href="https://issues.apache.org/jira/browse/SLING">Issue Tracker</a><br/><a href="http://ci.apache.org/builders/sling-trunk">Build Server</a><br/><a href="/project-information/security.html">Security</a><br/><p></p><strong>Source</strong><br/><a href="http://svn.apache.org/viewvc/sling/trunk">Subversion</a><br/><a href="git://git.apache.org/sling.git">Git</a><br/><a href="https://github.com/apache/sling">Github Mirror</a><br/><p></p><strong>Sponsorship</strong><br/><a href="http://www.apache.org/foundation/thanks.html">Thanks</a><br/><a href="http://www.apache.org/foundation/sponsorship.html">Become a Sponsor</a><br/><a href="https://donate.apache.org/">Donate!</a><br/><a href="http://www.apache.org/foun dation/buy_stuff.html">Buy Stuff</a><br/><p></p><strong><a href="/sitemap.html">Site Map</a></strong> - </div> <div class="main"> -<div class="row"><div class="small-12 columns"><section class="wrap"><header><h1>Page Not Found</h1></header><p>Notice: Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at . http://www.apache.org/licenses/LICENSE-2.0 . Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.</p> -<p>We're sorry, but the page you requested cannot be found. This may be because:</p> -<ul> - <li>The page has moved, was outdated, or has not been created yet</li> - <li>You typed the address incorrectly</li> - <li>You followed a link from another site that pointed to this page.</li> -</ul> -<p>If you came to this page by following a broken link on our site, you can report the <a href="https://issues.apache.org/jira/browse/SLING">problem</a>.</p></section></div></div> -<div class="footer"> - <div class="timestamp"> - TODO display revision number here - </div><div class="trademarkFooter"> - Apache Sling, Sling, Apache, the Apache feather logo, and the Apache Sling project logo are trademarks of The Apache Software Foundation. All other marks mentioned may be trademarks or registered trademarks of their respective owners. - </div> - </div> - - </div> - </body> -</html> http://git-wip-us.apache.org/repos/asf/sling-site/blob/4c695ebb/src/main/jbake/content/errors/403.md ---------------------------------------------------------------------- diff --git a/src/main/jbake/content/errors/403.md b/src/main/jbake/content/errors/403.md new file mode 100644 index 0000000..529bb63 --- /dev/null +++ b/src/main/jbake/content/errors/403.md @@ -0,0 +1,12 @@ +title=Forbidden (403) +type=page +status=published +tags=error +~~~~~~ + +We're sorry, but the page you requested cannot be accessed. This may be because: + +* You typed the address incorrectly +* You followed a link from another site that pointed to this page. + +If you came to this page by following a broken link on our site, you can [report the problem here](https://issues.apache.org/jira/browse/SLING). http://git-wip-us.apache.org/repos/asf/sling-site/blob/4c695ebb/src/main/jbake/content/errors/404.md ---------------------------------------------------------------------- diff --git a/src/main/jbake/content/errors/404.md b/src/main/jbake/content/errors/404.md new file mode 100644 index 0000000..94e5f95 --- /dev/null +++ b/src/main/jbake/content/errors/404.md @@ -0,0 +1,13 @@ +title=Page Not Found +type=page +status=published +tags=error +~~~~~~ + +We're sorry, but the page you requested cannot be found. This may be because: + +* The page has moved, was outdated, or has not been created yet +* You typed the address incorrectly +* You followed a link from another site that pointed to this page + +If you came to this page by following a broken link on our site, you can [report the problem here](https://issues.apache.org/jira/browse/SLING).