@caweb/template 1.0.14 → 1.0.15

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.
@@ -13,9 +13,9 @@
13
13
  <h3>How to's</h3>
14
14
  <ul>
15
15
  <li>Add more pages, you can create additional HTML files in the <span class="text-danger">/content/pages/</span> directory. Each file will be rendered as a separate page in your project.</li>
16
- <li>Use media on your pages, you can place your media files in the <span class="text-danger">/content/media/</span> directory. You can then reference these files in your HTML pages.</li>
17
- <li>Change the favicon, you can place your favicon file in the <span class="text-danger">/content/media/</span> directory. File name must be <span class="text-danger">favicon.ico</span>.</li>
18
- <li>Change the logo, you can place your logo file in the <span class="text-danger">/content/media/</span> directory. File name must be <span class="text-danger">logo.png</span>.</li>
16
+ <li>Use media on your pages, you can place your media files in the <span class="text-danger">/media/</span> directory. You can then reference these files in your HTML pages.</li>
17
+ <li>Change the favicon, you can place your favicon file in the <span class="text-danger">/media/</span> directory. File name must be <span class="text-danger">favicon.ico</span>.</li>
18
+ <li>Change the logo, you can place your logo file in the <span class="text-danger">/media/</span> directory. File name must be <span class="text-danger">logo.png</span>.</li>
19
19
  <li>For more information on how to, visit our <a href="/how-to/index.html">How To's</a> page.</li>
20
20
  </ul>
21
21
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@caweb/template",
3
- "version": "1.0.14",
3
+ "version": "1.0.15",
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 --search-template ./patterns/search.html --scheme trinity' && npm run serve"
48
48
  },
49
49
  "devDependencies": {
50
- "@caweb/framework": "^1.9.7",
50
+ "@caweb/framework": "^1.9.8",
51
51
  "@caweb/icon-library": "^1.1.7"
52
52
  },
53
53
  "dependencies": {
54
- "@caweb/webpack": "^1.6.5"
54
+ "@caweb/webpack": "^1.6.6"
55
55
  }
56
56
  }
@@ -0,0 +1,32 @@
1
+ <div class="container">
2
+ <div class="row">
3
+ <div class="col">
4
+ <h1>We're sorry, that link didn't work.</h1>
5
+
6
+ <p class="lead">To find what you need, you can:</p>
7
+
8
+
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
+
@@ -9,7 +9,7 @@
9
9
  </div>
10
10
  {{/if}}
11
11
  {{#if google.search }}
12
- {{#ifCond 'search.html' '!==' (replace htmlWebpackPlugin.options.template '.*(search.html)$' '$1' ) }}
12
+ {{#ifCond 'serp.html' '!==' (replace htmlWebpackPlugin.options.template '.*(serp.html)$' '$1' ) }}
13
13
  {{> searchForm }}
14
14
  {{/ifCond}}
15
15
  {{/if}}
File without changes