@caweb/template 1.0.17 → 1.0.18

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/package.json +3 -3
  2. package/patterns/404.html +60 -29
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@caweb/template",
3
- "version": "1.0.17",
3
+ "version": "1.0.18",
4
4
  "author": "CAWebPublishing",
5
5
  "description": "CAWebPublishing Template",
6
6
  "license": "ISC",
@@ -47,10 +47,10 @@
47
47
  "serve:trinity": "set NODE_OPTIONS='--template ./patterns/default.html --scheme trinity' && npm run serve"
48
48
  },
49
49
  "devDependencies": {
50
- "@caweb/framework": "^1.9.9",
50
+ "@caweb/framework": "^1.9.10",
51
51
  "@caweb/icon-library": "^1.1.7"
52
52
  },
53
53
  "dependencies": {
54
- "@caweb/webpack": "^1.6.8"
54
+ "@caweb/webpack": "^1.6.9"
55
55
  }
56
56
  }
package/patterns/404.html CHANGED
@@ -1,32 +1,63 @@
1
- <div class="container">
2
- <div class="row">
3
- <div class="col">
4
- <h1>We're sorry, that link didn't work.</h1>
5
1
 
6
- <p class="lead">To find what you need, you can:</p>
2
+ <!DOCTYPE html>
3
+ <html lang="en">
4
+ <head>
5
+ <title>{{ title }}</title>
6
+ {{> head }}
7
+ </head>
8
+
9
+ <body>
7
10
 
11
+ {{> header }}
8
12
 
9
- <ul>
10
- <li>
11
- Browse our
12
- <a href="index.html">homepage</a>
13
- </li>
14
- <li>Double check the link</li>
15
- <li>
16
- Use our
17
- <a href="serp.html?q=">search</a>
18
- </li>
19
- </ul>
20
- <p>
21
- Did you get here from a link on our website?
22
- <a href="contact.html">Let us know</a>
23
- so we can fix it.
24
- </p>
25
-
26
- <p class="fs-7">Error: Page not found (404)</p>
27
- </div>
28
- </div>
29
- </main>
30
- </div>
31
- </div>
32
-
13
+ <div id="page-container" class="page-container">
14
+ <div id="main-content" class="main-content" tabindex="-1">
15
+ <main class="main-primary">
16
+ <div class="container">
17
+ <div class="row">
18
+ <div class="col">
19
+ <h1>We're sorry, that link didn't work.</h1>
20
+
21
+ <p class="lead">To find what you need, you can:</p>
22
+
23
+
24
+ <ul>
25
+ <li>
26
+ Browse our
27
+ <a href="index.html">homepage</a>
28
+ </li>
29
+ <li>Double check the link</li>
30
+ <li>
31
+ Use our
32
+ <a href="serp.html?q=">search</a>
33
+ </li>
34
+ </ul>
35
+ <p>
36
+ Did you get here from a link on our website?
37
+ <a href="contact.html">Let us know</a>
38
+ so we can fix it.
39
+ </p>
40
+
41
+ <p class="fs-7">Error: Page not found (404)</p>
42
+ </div>
43
+ </div>
44
+ </main>
45
+ </div>
46
+ </div>
47
+ </main>
48
+ </div>
49
+ </div>
50
+ {{> footer }}
51
+ {{#if scheme }}
52
+ <script src="/node_modules/@caweb/framework/build/{{ scheme }}.js"></script>
53
+ {{/if}}
54
+ {{#if assets }}
55
+ {{#each assets }}
56
+ {{#if (endsWith this ".js") }}
57
+ <script src="{{ this }}"></script>
58
+ {{/if}}
59
+ {{/each}}
60
+ {{/if}}
61
+ </body>
62
+ </html>
63
+