From fbe313c02202ff4a44592a416fa646069afa5d6b Mon Sep 17 00:00:00 2001 From: Heydon Pickering Date: Mon, 4 Sep 2017 16:33:16 +0100 Subject: [PATCH] custom 404 --- docs/404.html | 455 +++++++++++++++++++++++++++++++ docs/service-worker.js | 2 +- themes/infusion/layouts/404.html | 47 ++++ 3 files changed, 503 insertions(+), 1 deletion(-) create mode 100644 docs/404.html diff --git a/docs/404.html b/docs/404.html new file mode 100644 index 0000000..e827b31 --- /dev/null +++ b/docs/404.html @@ -0,0 +1,455 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 404 Page not found | Infusion + + + + + + + skip to content + + + + + + + + + + W3C + SVG + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + +
+ + + + + diff --git a/docs/service-worker.js b/docs/service-worker.js index 34ff2ad..f0cb138 100644 --- a/docs/service-worker.js +++ b/docs/service-worker.js @@ -37,7 +37,7 @@ /* eslint-disable indent, no-unused-vars, no-multiple-empty-lines, max-nested-callbacks, space-before-function-paren, quotes, comma-spacing */ 'use strict'; -var precacheConfig = [["browserconfig.xml","67c3113b1574fecc6015d56d774e1d38"],["categories/index.xml","1c183b48cab635f689386c900b9dc4aa"],["css/fonts/miriamlibre-bold.woff","96496f6f06535d25b3bcba876917ca35"],["css/fonts/miriamlibre-bold.woff2","668defa44d9a74dd709ce0c826a5eb11"],["css/images/arrow_effect.svg","1434d178461f70c16b77acb4bdbc51e3"],["css/images/icon-tick.svg","35d4d4728ea80d254508b2bca4109d70"],["css/images/stripe.svg","fa3f32a026b6a1bb04ee98d963432e15"],["css/prism.css","004029c8c70ed2bbaa5d9debcf14f8c7"],["css/styles.css","b92d13089664a4d80555012bef176a84"],["images/android-icon-144x144.png","43e1f47f182b13d0dee15f510213e928"],["images/android-icon-192x192.png","4c07782e52e0ab714074e6d3d69dc3ec"],["images/android-icon-36x36.png","3b2cd8c925a66bf84c89b68bb30e5f62"],["images/android-icon-48x48.png","45dc386eea1d8a46216a8b6de9b156c6"],["images/android-icon-72x72.png","b04c64637efed2b04fa900ddfcbfe75d"],["images/android-icon-96x96.png","bd9c126a4d6baf7ce442122ce0e89e11"],["images/apple-icon-114x114.png","72e127d6f01dfcd2ba2340141babc536"],["images/apple-icon-120x120.png","bc7cd9e36869e66aaca78412207bf723"],["images/apple-icon-144x144.png","43e1f47f182b13d0dee15f510213e928"],["images/apple-icon-152x152.png","567c64205576865b5e5d06c849613ca2"],["images/apple-icon-180x180.png","6b8734c446bf02ab50be598b4c01ec9c"],["images/apple-icon-57x57.png","f8c586086752c78870820b6190d6b42b"],["images/apple-icon-60x60.png","6e88df111e506bcd5501bed4ff10542e"],["images/apple-icon-72x72.png","b04c64637efed2b04fa900ddfcbfe75d"],["images/apple-icon-76x76.png","d8666e0ac256f39f8c5c628486bd71fb"],["images/apple-icon-precomposed.png","725f6cec25256abb1db10385e0724400"],["images/apple-icon.png","725f6cec25256abb1db10385e0724400"],["images/bad_design_system.png","9c0e87a34e7d842b0e2831dc947249aa"],["images/browser-chrome-android.svg","3100b2a9c5f0e34982c717fc2aa46d73"],["images/browser-chrome.svg","fa39b4be6727525330e928f582fbe80a"],["images/browser-edge.svg","9e8265ab8f6a701587a4271dd3aa6a73"],["images/browser-firefox-android.svg","452df7b9e83c70a07e8e03b4e8dab9c4"],["images/browser-firefox.svg","d3093eda664be3d0cc6d791e1386420f"],["images/browser-ie.svg","13e192cf2b3fe17e7049a49b7d085caa"],["images/browser-opera.svg","95d65630c9f7deef6a3098af8f5baf9f"],["images/browser-safari-ios.svg","f729e629ec998ec40d313495d7257741"],["images/browser-safari.svg","523ee9491f5a937b8975f4d23aa77f62"],["images/favicon-16x16.png","7a99c20d6c00babddd26d03607b8721d"],["images/favicon-32x32.png","129881474a1bf130027bff7a1e89febd"],["images/favicon-96x96.png","bd9c126a4d6baf7ce442122ce0e89e11"],["images/favicon.ico","81c46feedbfcc6c6dc9495e4fd5adfad"],["images/icon-info.svg","53a6c555ce41f818556c71ab0dfc533b"],["images/icon-tag.svg","f067bbbc072941b2a0335679300bfc6c"],["images/icon-warning.svg","2a4322abbee9aed694fadb50e98a1f61"],["images/logo.svg","50293a256b796b9a737f1969d511a98e"],["images/ms-icon-144x144.png","43e1f47f182b13d0dee15f510213e928"],["images/ms-icon-150x150.png","e73370837ab9060772a18d62aaacd0f0"],["images/ms-icon-310x310.png","8a7143516b929702e3309bb537a99c5c"],["images/ms-icon-70x70.png","d7c6e7368733d53b5f979546d5aa4fe9"],["images/open_in_desktop.png","e899d6679b011aa7b0e783683d90d99b"],["images/samsung_homescreen.png","5ef40e64a18f966ce5c9084a024256db"],["images/serve_from_docs.png","15ae9eac3737a21593ebe00a9312bf9e"],["index.html","58cf160057175ab4c3e6e12185d24e60"],["index.xml","e6b39354f2238f321886f7704c2c1439"],["js/dom-scripts.js","1d87ba44d730c37fae139d4ac47b118a"],["js/prism.js","0c1fb8d3a69ee7c91dbf0f361ded7763"],["js/service-worker-registration.js","d60f01dc1393cbaaf4f7435339074d5e"],["manifest.json","238a0121f2ebf55e137c05f40d3ec335"],["patterns/coding/code-blocks/index.html","00be0f0e278f57c63f3f702e438e0d6d"],["patterns/coding/color-palettes/index.html","9b3440d7282c324dad08626bb2b95e0c"],["patterns/coding/command-line/index.html","cfffb5e1745bc9aaa612dc883bd98622"],["patterns/coding/demo-embedding/index.html","45c1381d380ba673e0d02760bd7a7626"],["patterns/coding/file-trees/index.html","190aeca558c547bcb4e66720c758648e"],["patterns/coding/index.html","baaeedca8f39bbf77a86759afe4f48b5"],["patterns/coding/index.xml","9103e9b80e3ea47df0759c7646b4b174"],["patterns/coding/tested/index.html","b999e65b4aab369f4bfa4d2a2f8d9675"],["patterns/coding/writing-inline-demos/index.html","7c97e59bcfcb891a2908ed93cb7ef40b"],["patterns/help/index.html","76d98b4175982ead087b6e6216c383fb"],["patterns/index.html","9cea1ed2816c5ea1a48b44a20458a256"],["patterns/index.xml","990257266735ed554e84f234d9a7717c"],["patterns/installation/index.html","ba9a7e02c6d612066c1dfaa7090cd41b"],["patterns/library-setup/index.html","7c8829995d232d97d91b393e84b57428"],["patterns/media/including-images/index.html","0fb8526728330f57545ba097dc6ff8ba"],["patterns/media/including-videos/index.html","6b6e259d04d0aa5b8ec56fd6bef6ae3f"],["patterns/media/index.html","813c0e1fcd9479852fb7c069b855f5be"],["patterns/media/index.xml","69e133cec08e19eeb33cb005e90590e3"],["patterns/printing/index.html","e3e7724307633895c919c72171610625"],["patterns/serving/index.html","0c285c37b4e3644b5e5db6ee9411cdfb"],["patterns/updating/index.html","6c85a9c76c659f136e5b637d5e58b6db"],["patterns/writing/expandable-sections/index.html","0291814905d89e201922183713addde0"],["patterns/writing/index.html","d5812dbee8c1339b9d6f5d96b1ab6089"],["patterns/writing/index.xml","691ef930c108f300ab46d63e88be2b55"],["patterns/writing/library-structure/index.html","56d0920df06ab5daa260d16aa91a0bd5"],["patterns/writing/markdown-and-metadata/index.html","70414ac968705498d51c7c2f198c4aa4"],["patterns/writing/notes-and-warnings/index.html","cbbb819290e11be1fdf08e73fb2a6c8d"],["patterns/writing/references/index.html","f62565d7a361129d16cfa10f4d78f654"],["patterns/writing/snippets/index.html","a04bc550bbcd5a0e68a0cdadec4bc0cc"],["patterns/writing/tables-of-contents/index.html","4d26d31d210af43be6faf92549c1a863"],["print-version/index.html","676e5929deaea85e3450afdd0c220475"],["sitemap.xml","0bcf740c980021ac8d95c2665e88600b"],["tags/index.xml","7445f2e8ccc722d44e7533263233d2df"],["tags/markdown/index.html","f471fcda6e03575035296c9b42c33aa1"],["tags/markdown/index.xml","7df48ac337fc803de40eec42599a31cd"],["tags/metadata/index.html","f9a3ad3a9f13fbe750379e3a0c112964"],["tags/metadata/index.xml","eca9cfe9cd6561660ff341d5ded73b06"]]; +var precacheConfig = [["404.html","2e2da2ad112861bc7605b3281eeceec7"],["browserconfig.xml","67c3113b1574fecc6015d56d774e1d38"],["categories/index.xml","1c183b48cab635f689386c900b9dc4aa"],["css/fonts/miriamlibre-bold.woff","96496f6f06535d25b3bcba876917ca35"],["css/fonts/miriamlibre-bold.woff2","668defa44d9a74dd709ce0c826a5eb11"],["css/images/arrow_effect.svg","1434d178461f70c16b77acb4bdbc51e3"],["css/images/icon-tick.svg","35d4d4728ea80d254508b2bca4109d70"],["css/images/stripe.svg","fa3f32a026b6a1bb04ee98d963432e15"],["css/prism.css","004029c8c70ed2bbaa5d9debcf14f8c7"],["css/styles.css","b92d13089664a4d80555012bef176a84"],["images/android-icon-144x144.png","43e1f47f182b13d0dee15f510213e928"],["images/android-icon-192x192.png","4c07782e52e0ab714074e6d3d69dc3ec"],["images/android-icon-36x36.png","3b2cd8c925a66bf84c89b68bb30e5f62"],["images/android-icon-48x48.png","45dc386eea1d8a46216a8b6de9b156c6"],["images/android-icon-72x72.png","b04c64637efed2b04fa900ddfcbfe75d"],["images/android-icon-96x96.png","bd9c126a4d6baf7ce442122ce0e89e11"],["images/apple-icon-114x114.png","72e127d6f01dfcd2ba2340141babc536"],["images/apple-icon-120x120.png","bc7cd9e36869e66aaca78412207bf723"],["images/apple-icon-144x144.png","43e1f47f182b13d0dee15f510213e928"],["images/apple-icon-152x152.png","567c64205576865b5e5d06c849613ca2"],["images/apple-icon-180x180.png","6b8734c446bf02ab50be598b4c01ec9c"],["images/apple-icon-57x57.png","f8c586086752c78870820b6190d6b42b"],["images/apple-icon-60x60.png","6e88df111e506bcd5501bed4ff10542e"],["images/apple-icon-72x72.png","b04c64637efed2b04fa900ddfcbfe75d"],["images/apple-icon-76x76.png","d8666e0ac256f39f8c5c628486bd71fb"],["images/apple-icon-precomposed.png","725f6cec25256abb1db10385e0724400"],["images/apple-icon.png","725f6cec25256abb1db10385e0724400"],["images/bad_design_system.png","9c0e87a34e7d842b0e2831dc947249aa"],["images/browser-chrome-android.svg","3100b2a9c5f0e34982c717fc2aa46d73"],["images/browser-chrome.svg","fa39b4be6727525330e928f582fbe80a"],["images/browser-edge.svg","9e8265ab8f6a701587a4271dd3aa6a73"],["images/browser-firefox-android.svg","452df7b9e83c70a07e8e03b4e8dab9c4"],["images/browser-firefox.svg","d3093eda664be3d0cc6d791e1386420f"],["images/browser-ie.svg","13e192cf2b3fe17e7049a49b7d085caa"],["images/browser-opera.svg","95d65630c9f7deef6a3098af8f5baf9f"],["images/browser-safari-ios.svg","f729e629ec998ec40d313495d7257741"],["images/browser-safari.svg","523ee9491f5a937b8975f4d23aa77f62"],["images/favicon-16x16.png","7a99c20d6c00babddd26d03607b8721d"],["images/favicon-32x32.png","129881474a1bf130027bff7a1e89febd"],["images/favicon-96x96.png","bd9c126a4d6baf7ce442122ce0e89e11"],["images/favicon.ico","81c46feedbfcc6c6dc9495e4fd5adfad"],["images/icon-info.svg","53a6c555ce41f818556c71ab0dfc533b"],["images/icon-tag.svg","f067bbbc072941b2a0335679300bfc6c"],["images/icon-warning.svg","2a4322abbee9aed694fadb50e98a1f61"],["images/logo.svg","50293a256b796b9a737f1969d511a98e"],["images/ms-icon-144x144.png","43e1f47f182b13d0dee15f510213e928"],["images/ms-icon-150x150.png","e73370837ab9060772a18d62aaacd0f0"],["images/ms-icon-310x310.png","8a7143516b929702e3309bb537a99c5c"],["images/ms-icon-70x70.png","d7c6e7368733d53b5f979546d5aa4fe9"],["images/open_in_desktop.png","e899d6679b011aa7b0e783683d90d99b"],["images/samsung_homescreen.png","5ef40e64a18f966ce5c9084a024256db"],["images/serve_from_docs.png","15ae9eac3737a21593ebe00a9312bf9e"],["index.html","58cf160057175ab4c3e6e12185d24e60"],["index.xml","e6b39354f2238f321886f7704c2c1439"],["js/dom-scripts.js","1d87ba44d730c37fae139d4ac47b118a"],["js/prism.js","0c1fb8d3a69ee7c91dbf0f361ded7763"],["js/service-worker-registration.js","d60f01dc1393cbaaf4f7435339074d5e"],["manifest.json","238a0121f2ebf55e137c05f40d3ec335"],["patterns/coding/code-blocks/index.html","00be0f0e278f57c63f3f702e438e0d6d"],["patterns/coding/color-palettes/index.html","9b3440d7282c324dad08626bb2b95e0c"],["patterns/coding/command-line/index.html","cfffb5e1745bc9aaa612dc883bd98622"],["patterns/coding/demo-embedding/index.html","45c1381d380ba673e0d02760bd7a7626"],["patterns/coding/file-trees/index.html","190aeca558c547bcb4e66720c758648e"],["patterns/coding/index.html","baaeedca8f39bbf77a86759afe4f48b5"],["patterns/coding/index.xml","9103e9b80e3ea47df0759c7646b4b174"],["patterns/coding/tested/index.html","b999e65b4aab369f4bfa4d2a2f8d9675"],["patterns/coding/writing-inline-demos/index.html","7c97e59bcfcb891a2908ed93cb7ef40b"],["patterns/help/index.html","76d98b4175982ead087b6e6216c383fb"],["patterns/index.html","9cea1ed2816c5ea1a48b44a20458a256"],["patterns/index.xml","990257266735ed554e84f234d9a7717c"],["patterns/installation/index.html","ba9a7e02c6d612066c1dfaa7090cd41b"],["patterns/library-setup/index.html","7c8829995d232d97d91b393e84b57428"],["patterns/media/including-images/index.html","0fb8526728330f57545ba097dc6ff8ba"],["patterns/media/including-videos/index.html","6b6e259d04d0aa5b8ec56fd6bef6ae3f"],["patterns/media/index.html","813c0e1fcd9479852fb7c069b855f5be"],["patterns/media/index.xml","69e133cec08e19eeb33cb005e90590e3"],["patterns/printing/index.html","e3e7724307633895c919c72171610625"],["patterns/serving/index.html","0c285c37b4e3644b5e5db6ee9411cdfb"],["patterns/updating/index.html","6c85a9c76c659f136e5b637d5e58b6db"],["patterns/writing/expandable-sections/index.html","0291814905d89e201922183713addde0"],["patterns/writing/index.html","d5812dbee8c1339b9d6f5d96b1ab6089"],["patterns/writing/index.xml","691ef930c108f300ab46d63e88be2b55"],["patterns/writing/library-structure/index.html","56d0920df06ab5daa260d16aa91a0bd5"],["patterns/writing/markdown-and-metadata/index.html","70414ac968705498d51c7c2f198c4aa4"],["patterns/writing/notes-and-warnings/index.html","cbbb819290e11be1fdf08e73fb2a6c8d"],["patterns/writing/references/index.html","f62565d7a361129d16cfa10f4d78f654"],["patterns/writing/snippets/index.html","a04bc550bbcd5a0e68a0cdadec4bc0cc"],["patterns/writing/tables-of-contents/index.html","4d26d31d210af43be6faf92549c1a863"],["print-version/index.html","676e5929deaea85e3450afdd0c220475"],["sitemap.xml","0bcf740c980021ac8d95c2665e88600b"],["tags/index.xml","7445f2e8ccc722d44e7533263233d2df"],["tags/markdown/index.html","f471fcda6e03575035296c9b42c33aa1"],["tags/markdown/index.xml","7df48ac337fc803de40eec42599a31cd"],["tags/metadata/index.html","f9a3ad3a9f13fbe750379e3a0c112964"],["tags/metadata/index.xml","eca9cfe9cd6561660ff341d5ded73b06"]]; var cacheName = 'sw-precache-v3-sw-precache-' + (self.registration ? self.registration.scope : ''); diff --git a/themes/infusion/layouts/404.html b/themes/infusion/layouts/404.html index e69de29..c53a7f0 100644 --- a/themes/infusion/layouts/404.html +++ b/themes/infusion/layouts/404.html @@ -0,0 +1,47 @@ +{{ define "main"}} +
+
+ + + + + + + + + + + + + + + + +

404

+

Oh dear. This page cannot be found.

+
+
+{{ end }}