@caweb/template 1.0.16 → 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.
- package/package.json +3 -3
- package/patterns/404.html +60 -29
- package/patterns/default.html +1 -1
- package/patterns/serp.html +1 -1
- package/semantics/head.html +13 -13
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@caweb/template",
|
|
3
|
-
"version": "1.0.
|
|
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.
|
|
50
|
+
"@caweb/framework": "^1.9.10",
|
|
51
51
|
"@caweb/icon-library": "^1.1.7"
|
|
52
52
|
},
|
|
53
53
|
"dependencies": {
|
|
54
|
-
"@caweb/webpack": "^1.6.
|
|
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
|
-
|
|
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
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
</
|
|
29
|
-
</
|
|
30
|
-
|
|
31
|
-
|
|
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
|
+
|
package/patterns/default.html
CHANGED
package/patterns/serp.html
CHANGED
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
</div>
|
|
22
22
|
{{> footer }}
|
|
23
23
|
{{#if scheme }}
|
|
24
|
-
<script src="node_modules/@caweb/html-webpack-plugin/build/{{ scheme }}.js"></script>
|
|
24
|
+
<script src="/node_modules/@caweb/html-webpack-plugin/build/{{ scheme }}.js"></script>
|
|
25
25
|
{{/if}}
|
|
26
26
|
{{#if assets }}
|
|
27
27
|
{{#each assets }}
|
package/semantics/head.html
CHANGED
|
@@ -3,45 +3,45 @@
|
|
|
3
3
|
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
|
|
4
4
|
|
|
5
5
|
<!-- Icon Font Library -->
|
|
6
|
-
<link rel="stylesheet" href="node_modules/@caweb/icon-library/build/font-only.css" />
|
|
6
|
+
<link rel="stylesheet" href="/node_modules/@caweb/icon-library/build/font-only.css" />
|
|
7
7
|
|
|
8
8
|
<!-- Template Scheme CSS -->
|
|
9
|
-
<link rel="stylesheet" href="node_modules/@caweb/framework/build/{{ scheme }}.css" />
|
|
9
|
+
<link rel="stylesheet" href="/node_modules/@caweb/framework/build/{{ scheme }}.css" />
|
|
10
10
|
|
|
11
11
|
<link
|
|
12
12
|
rel="apple-touch-icon-precomposed"
|
|
13
13
|
sizes="100x100"
|
|
14
|
-
href="node_modules/@caweb/template/media/apple-touch-icon-precomposed.png" />
|
|
15
|
-
<link rel="icon" sizes="192x192" href="node_modules/@caweb/template/media/apple-touch-icon-192x192.png" />
|
|
14
|
+
href="/node_modules/@caweb/template/media/apple-touch-icon-precomposed.png" />
|
|
15
|
+
<link rel="icon" sizes="192x192" href="/node_modules/@caweb/template/media/apple-touch-icon-192x192.png" />
|
|
16
16
|
<link
|
|
17
17
|
rel="apple-touch-icon-precomposed"
|
|
18
18
|
sizes="180x180"
|
|
19
|
-
href="node_modules/@caweb/template/media/apple-touch-icon-180x180.png" />
|
|
19
|
+
href="/node_modules/@caweb/template/media/apple-touch-icon-180x180.png" />
|
|
20
20
|
<link
|
|
21
21
|
rel="apple-touch-icon-precomposed"
|
|
22
22
|
sizes="152x152"
|
|
23
|
-
href="node_modules/@caweb/template/media/apple-touch-icon-152x152.png" />
|
|
23
|
+
href="/node_modules/@caweb/template/media/apple-touch-icon-152x152.png" />
|
|
24
24
|
<link
|
|
25
25
|
rel="apple-touch-icon-precomposed"
|
|
26
26
|
sizes="144x144"
|
|
27
|
-
href="node_modules/@caweb/template/media/apple-touch-icon-144x144.png" />
|
|
27
|
+
href="/node_modules/@caweb/template/media/apple-touch-icon-144x144.png" />
|
|
28
28
|
<link
|
|
29
29
|
rel="apple-touch-icon-precomposed"
|
|
30
30
|
sizes="120x120"
|
|
31
|
-
href="node_modules/@caweb/template/media/apple-touch-icon-120x120.png" />
|
|
31
|
+
href="/node_modules/@caweb/template/media/apple-touch-icon-120x120.png" />
|
|
32
32
|
<link
|
|
33
33
|
rel="apple-touch-icon-precomposed"
|
|
34
34
|
sizes="114x114"
|
|
35
|
-
href="node_modules/@caweb/template/media/apple-touch-icon-114x114.png" />
|
|
35
|
+
href="/node_modules/@caweb/template/media/apple-touch-icon-114x114.png" />
|
|
36
36
|
<link
|
|
37
37
|
rel="apple-touch-icon-precomposed"
|
|
38
38
|
sizes="72x72"
|
|
39
|
-
href="node_modules/@caweb/template/media/apple-touch-icon-72x72.png" />
|
|
39
|
+
href="/node_modules/@caweb/template/media/apple-touch-icon-72x72.png" />
|
|
40
40
|
<link
|
|
41
41
|
rel="apple-touch-icon-precomposed"
|
|
42
|
-
href="node_modules/@caweb/template/media/apple-touch-icon-57x57.png" />
|
|
43
|
-
<link rel="shortcut icon" href="node_modules/@caweb/template/media/apple-touch-icon-57x57.png" />
|
|
44
|
-
<link rel="apple-touch-icon" href="node_modules/@caweb/template/media/apple-touch-icon.png" />
|
|
42
|
+
href="/node_modules/@caweb/template/media/apple-touch-icon-57x57.png" />
|
|
43
|
+
<link rel="shortcut icon" href="/node_modules/@caweb/template/media/apple-touch-icon-57x57.png" />
|
|
44
|
+
<link rel="apple-touch-icon" href="/node_modules/@caweb/template/media/apple-touch-icon.png" />
|
|
45
45
|
{{/if}}
|
|
46
46
|
|
|
47
47
|
{{#if meta }}
|