Skip to content

Commit b3bbaa3

Browse files
davidlehnBigBlueHat
authored andcommitted
Add 404 page.
- Add `404.html` for Cloudflare Pages.
1 parent cc3c05d commit b3bbaa3

File tree

2 files changed

+101
-0
lines changed

2 files changed

+101
-0
lines changed

.eleventy.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ const drafts = [
1010
];
1111

1212
module.exports = function(eleventyConfig) {
13+
eleventyConfig.addPassthroughCopy('404.html');
1314
eleventyConfig.addPassthroughCopy('.htaccess');
1415
eleventyConfig.addPassthroughCopy('LICENSE.md');
1516
eleventyConfig.addPassthroughCopy('benchmarks/**/*.{jsonld,nq,md}');

404.html

Lines changed: 100 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,100 @@
1+
<!DOCTYPE html>
2+
<html
3+
prefix="
4+
xhv: http://www.w3.org/1999/xhtml/vocab#
5+
xsd: http://www.w3.org/2001/XMLSchema#
6+
rdfs: http://www.w3.org/2000/01/rdf-schema#
7+
dc: http://purl.org/dc/terms/
8+
vcard: http://www.w3.org/2006/vcard/ns#
9+
v: http://rdf.data-vocabulary.org/#"
10+
lang="en" >
11+
<head>
12+
<title>JSON-LD - JSON for Linking Data</title>
13+
14+
<!-- Meta Tags -->
15+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
16+
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
17+
18+
<!-- Style Sheets -->
19+
<link rel="stylesheet" type="text/css" href="static/css/bootstrap/bootstrap.css">
20+
<link rel="stylesheet" type="text/css" href="static/css/bootstrap/bootstrap-responsive.css">
21+
<link rel="stylesheet" type="text/css" href="static/css/bootstrap/font-awesome.css">
22+
<style>
23+
/** bootstrap 2.3.2 overrides **/
24+
.alert.alert-success a {color: #3d9400; text-decoration: underline }
25+
</style>
26+
27+
<link rel="shortcut icon" href="favicon.ico" />
28+
29+
<!-- Script tags -->
30+
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.9.0/jquery.min.js"></script>
31+
32+
<script>
33+
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
34+
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
35+
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
36+
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
37+
38+
ga('create', 'UA-42886053-1', 'json-ld.org');
39+
ga('send', 'pageview');
40+
</script>
41+
</head>
42+
43+
<body>
44+
<div class="navbar navbar-static-top">
45+
<div class="navbar-inner">
46+
<div class="row-fluid">
47+
<a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
48+
<span class="icon-bar"></span>
49+
<span class="icon-bar"></span>
50+
<span class="icon-bar"></span>
51+
</a>
52+
<a class="brand active" href="#"><img src="images/json-ld-data-24.png" alt="JSON-LD logo"> JSON-LD</a>
53+
<div class="nav-collapse">
54+
<ul class="nav">
55+
<li>
56+
<a href="playground/"><span class="icon-beer"></span> Playground</a>
57+
</li>
58+
<li>
59+
<a href="learn/"><span class="icon-book"></span> Documentation</a>
60+
</li>
61+
<li><a href="#developers"><span class="icon-beaker"></span> Developers</a></li>
62+
<li class="dropdown">
63+
<a href="#" class="dropdown-toggle" data-toggle="dropdown">
64+
<span class="icon-folder-open"></span> Specifications <b class="caret"></b>
65+
</a>
66+
<ul class="dropdown-menu">
67+
<li class="nav-header"><strong>W3C Recommendations</strong></li>
68+
<li><a href="https://www.w3.org/TR/json-ld/">Syntax</a></li>
69+
<li><a href="https://www.w3.org/TR/json-ld-api/">Processing Algorithms and API</a></li>
70+
<li><a href="https://www.w3.org/TR/json-ld-framing/">Framing</a></li>
71+
<li class="divider"></li>
72+
<li class="nav-header"><strong>Latest Drafts</strong></li>
73+
<li><a href="https://w3c.github.io/json-ld-syntax/">Syntax</a></li>
74+
<li><a href="https://w3c.github.io/json-ld-api/">Processing Algorithms and API</a></li>
75+
<li><a href="https://w3c.github.io/json-ld-framing/">Framing</a></li>
76+
<li><a href="https://w3c.github.io/json-ld-bp/">Best Practices</a></li>
77+
<li><a href="https://w3c.github.io/json-ld-streaming/">Streaming</a></li>
78+
<li><a href="https://json-ld.github.io/json-ld-star/">JSON-LD-star</a></li>
79+
<li><a href="https://w3c.github.io/json-ld-cbor/">CBOR</a></li>
80+
<li><a href="https://github.com/w3c/json-ld-rc/">Recommended Context</a></li>
81+
<li><a href="https://json-ld.github.io/yaml-ld/">YAML-LD</a></li>
82+
<li><a href="/spec/">1.0 drafts (historic)</a></li>
83+
</ul>
84+
</li>
85+
<li><a href="images/"><span class="icon-picture"></span> Branding</a></li>
86+
</ul>
87+
</div>
88+
<!--/.nav-collapse -->
89+
</div>
90+
</div>
91+
</div>
92+
93+
<div class="container">
94+
<h2>Page not found.</h2>
95+
</div>
96+
97+
<!-- Script tags -->
98+
<script type="text/javascript" src="static/js/bootstrap/bootstrap.js"></script>
99+
</body>
100+
</html>

0 commit comments

Comments
 (0)