Skip to content

Commit dbff8c7

Browse files
Merge branch 'release'
2 parents 291893f + 29c5f38 commit dbff8c7

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

57 files changed

+54
-5977
lines changed

404.html

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
---
2+
title: Error 404
3+
layout: default
4+
---
5+
6+
<div class="container">
7+
<div class="row">
8+
<div class="col-md-12">
9+
<div class="error-template">
10+
<h1>
11+
Oops!</h1>
12+
<h2>
13+
404 Not Found</h2>
14+
<div class="error-details">
15+
Sorry, an error has occured, Requested page not found!
16+
</div>
17+
<div class="error-actions">
18+
<a href="index.html" class="btn btn-primary btn-lg"><span class="fas fa-home"></span>
19+
Take Me Home </a><a href="contact.html" class="btn btn-primary btn-lg"><span
20+
class="fas fa-envelope"></span> Contact Us </a>
21+
</div>
22+
</div>
23+
</div>
24+
</div>
25+
</div>

README.md

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,4 +29,24 @@ To exclude a specific page use the snippet `sitemap:false` at the top of the pag
2929

3030
> :warning: **If you are including the page in another page (using `include_relative`)**: add the page as a default in `_config.yml` otherwise the `sitemap:false` is displayed as HTML on the page.
3131
32-
All files in `_include` are excluded from the sitemap automatically
32+
## Example default to add to `_config.yml`
33+
```yml
34+
-
35+
scope:
36+
path: 'pages-people/*'
37+
values:
38+
sitemap: false
39+
```
40+
41+
All files in `_include` are excluded from the sitemap automatically
42+
# Adding a page to the typed suffix functionality
43+
* Add a variable to the suffix-lists.js file with the first word of the page title. Assign the array you want to use to the variable.
44+
45+
e.g.
46+
47+
For a page named "Home"
48+
49+
```javascript
50+
var Languages = ["Java","HTML"]
51+
var Home = Languages
52+
```

css/style.css

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -403,6 +403,12 @@ div.event-book-button {
403403
margin-top:0.2em;
404404
}
405405

406+
/*404*/
407+
408+
.error-template {padding: 40px 15px;text-align: center;}
409+
.error-actions {margin-top:15px;margin-bottom:15px;}
410+
.error-actions .btn { margin-right:10px; text-decoration: none;}
411+
406412
/* RESIZING (min-width) */
407413

408414
@media (min-width: 526px) {

js/suffix-lists.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ var people = [
1515
];
1616

1717
var About = people;
18-
1918
var Activities = [
2019
"codecademy",
2120
"CodeCombat",
@@ -56,6 +55,8 @@ var Languages = [
5655
"Python",
5756
"SQL"
5857
];
58+
var Error = Languages
59+
5960

6061
var People = [
6162
"Drew",

test_next_release/CNAME

Lines changed: 0 additions & 1 deletion
This file was deleted.

test_next_release/README.md

Lines changed: 0 additions & 23 deletions
This file was deleted.

test_next_release/about.html

Lines changed: 0 additions & 277 deletions
This file was deleted.

0 commit comments

Comments
 (0)