Skip to content

Commit

Permalink
Merge pull request #10 from Kelper0N/gh-pages
Browse files Browse the repository at this point in the history
Updated error_page.html
  • Loading branch information
alexphelps authored Aug 28, 2018
2 parents 96d247b + 5743da2 commit 4cfa386
Show file tree
Hide file tree
Showing 6 changed files with 41 additions and 94 deletions.
8 changes: 8 additions & 0 deletions _config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
title: Server-error-pages
description: Easy to use, professional error pages to replace the plaintext error pages that come with any server software like Nginx or Apache
google_analytics:
show_downloads: true
theme: jekyll-theme-midnight

gems:
- jekyll-mentions
22 changes: 11 additions & 11 deletions _layouts/error_page.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,28 +3,26 @@
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="{{ page.title }}">
<meta name="robots" content="noindex, nofollow">
<title>{{ page.title }}</title>
<meta name="description" content="{{ page.title }}">
<!-- Bootstrap core CSS -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.6.3/css/font-awesome.min.css">
<style>
/* Error Page Inline Styles */
body {
padding-top: 20px;
padding: 1.5em 0;
}
/* Layout */
.jumbotron {
font-size: 21px;
font-weight: 200;
line-height: 2.1428571435;
color: inherit;
padding: 10px 0px;
}
/* Everything but the jumbotron gets side spacing for mobile-first views */
.masthead, .body-content, {
padding-left: 15px;
padding-right: 15px;
.masthead, .body-content {
padding: 0 15px
}
/* Main marketing message and sign up button */
.jumbotron {
Expand All @@ -33,12 +31,14 @@
}
.jumbotron .btn {
font-size: 21px;
padding: 14px 24px;
padding: 1.5em 2em;
}
/* Colors */
.green {color:#5cb85c;}
.orange {color:#f0ad4e;}
.red {color:#d9534f;}
.green {color:green;}
.orange {color:orange;}
.red {color:red;}
.blue {color:blue;}
.yellow {color: yellow;}
</style>
<script type="text/javascript">
function loadDomain() {
Expand Down
65 changes: 0 additions & 65 deletions index.html

This file was deleted.

22 changes: 22 additions & 0 deletions index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
### Welcome to GitHub Pages.
This automatic page generator is the easiest way to create beautiful pages for all of your projects. Author your page content here using GitHub Flavored Markdown, select a template crafted by a designer, and publish. After your page is generated, you can check out the new branch:

```
$ cd your_repo_root/repo_name
$ git fetch origin
$ git checkout gh-pages
```

If you're using the GitHub for Mac, simply sync your repository and you'll see the new branch.

### Designer Templates
We've crafted some handsome templates for you to use. Go ahead and continue to layouts to browse through them. You can easily go back to edit your page before publishing. After publishing your page, you can revisit the page generator and switch to another theme. Your Page content will be preserved if it remained markdown format.

### Rather Drive Stick?
If you prefer to not use the automatic generator, push a branch named `gh-pages` to your repository to create a page manually. In addition to supporting regular HTML content, GitHub Pages support Jekyll, a simple, blog aware static site generator written by our own Tom Preston-Werner. Jekyll makes it easy to create site-wide headers and footers without having to copy them across every page. It also offers intelligent blog support and other advanced templating features.

### Authors and Contributors
You can @mention a GitHub username to generate a link to their profile. The resulting `<a>` element will link to the contributor's GitHub Profile. For example: In 2007, Chris Wanstrath (@defunkt), PJ Hyett (@pjhyett), and Tom Preston-Werner (@mojombo) founded GitHub.

### Support or Contact
Having trouble with Pages? Check out the documentation at http://help.github.com/pages or contact [email protected] and we’ll help you sort it out.
17 changes: 0 additions & 17 deletions javascripts/scale.fix.js

This file was deleted.

1 change: 0 additions & 1 deletion params.json

This file was deleted.

0 comments on commit 4cfa386

Please sign in to comment.