Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# Jekyll #
##########
_site/

# prepros #
###########
.sass-cache/
Expand Down
22 changes: 0 additions & 22 deletions 404.html

This file was deleted.

8 changes: 8 additions & 0 deletions 404.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
layout: default
title: "Error 404 – Page not found"
page-class: page--404
---
## Page Not Found

Sorry, but the page you were trying to view does not exist.
9 changes: 9 additions & 0 deletions _config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
markdown: rdiscount
pygments: true
permalink: /:year/:month/:title
paginate: 5
relative_permalinks: false
exclude: [prepros.json, config.rb]
name: Code Review Community
description: Weekend Challenges and projects by the Code Review Community.
url: http://codereviewcommunity.github.io
9 changes: 9 additions & 0 deletions _drafts/how-to-create-posts-with-markdown-for-jekyll.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
layout: post
title: How To Create Posts With Markdown For Jekyll
---
1. The block in between `---` (the YAML front matter) needs to be the first thing in all posts to be recognized by Jekyll.
1. The `layout` should always be `post` for new posts
2. full pages have `layout: default`
2. Posts are written in Markdown. Everything possible on the Stack Exchange sites should work here as well. Also there are sweet additions like fenced code blocks.
3. New Posts are dropped in the `_posts` directory and need a certain file format: `YYYY-MM-DD-title-dash-delimited.md`
44 changes: 44 additions & 0 deletions _layouts/default.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
<!DOCTYPE html>
<html lang="en" class="page {{ page.page-class }}">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">

<title>{{ page.title }}</title>

<link rel="stylesheet" href="/css/crcommunity.min.css">
<link rel="shortcut icon" href="/icon.png">
<link rel="stylesheet" href="http://fonts.googleapis.com/css?family=Roboto:400,400italic,700">
{% if site.description %}
<meta name="description" content="{{ site.description }}">
{% endif %}
<!--[if lt IE 9]>
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
</head>
<body>
<!--[if lt IE 9]>
<p class="browsehappy">You are using an <strong>outdated</strong> browser. Please <a href="http://browsehappy.com/">upgrade your
browser</a> to improve your experience.</p>
<![endif]-->

<div class="wrapper">
<a href="/" class="site-logo">
<img src="/img/cr-logo.png" alt="Code Review logo">
</a>

<main class="page-content" role="main">
{{ content }}
</main>
</div>

<!--<script>
(function(b,o,i,l,e,r){b.GoogleAnalyticsObject=l;b[l]||(b[l]=
function(){(b[l].q=b[l].q||[]).push(arguments)});b[l].l=+new Date;
e=o.createElement(i);r=o.getElementsByTagName(i)[0];
e.src='//www.google-analytics.com/analytics.js';
r.parentNode.insertBefore(e,r)}(window,document,'script','ga'));
ga('create','UA-XXXXX-X');ga('send','pageview');
</script>-->
</body>
</html>
9 changes: 9 additions & 0 deletions _layouts/post.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
layout: default
page-class: page--post
---
<article class="entry">
<h2>{{ page.title }}</h2>

{{ content }}
</article>
41 changes: 0 additions & 41 deletions css/crcommunity.css
Original file line number Diff line number Diff line change
Expand Up @@ -367,47 +367,6 @@ table {
border-spacing: 0;
}

/*
* Applied dev-metal.com Google Chrome font rendering fix (Update, November 2013: Solution #1):
* http://www.dev-metal.com/fix-ugly-font-rendering-google-chrome/
*/
@font-face {
font-family: 'Roboto';
src: url("../fonts/roboto-regular.eot");
src: url("../fonts/roboto-regular.eot?#iefix") format("embedded-opentype"), url("../fonts/roboto-regular.woff") format("woff"), url("../fonts/roboto-regular.ttf") format("truetype"), url("../fonts/roboto-regular.svg#robotoregular") format("svg");
}
@media screen and (-webkit-min-device-pixel-ratio: 0) {
@font-face {
font-family: 'Roboto';
src: url("../fonts/roboto-regular.svg#robotoregular") format("svg");
}
}
@font-face {
font-family: 'Roboto';
src: url("../fonts/roboto-italic.eot");
src: url("../fonts/roboto-italic.eot?#iefix") format("embedded-opentype"), url("../fonts/roboto-italic.woff") format("woff"), url("../fonts/roboto-italic.ttf") format("truetype"), url("../fonts/roboto-italic.svg#robotoitalic") format("svg");
font-style: italic;
}
@media screen and (-webkit-min-device-pixel-ratio: 0) {
@font-face {
font-family: 'Roboto';
src: url("../fonts/roboto-italic.svg#robotoitalic") format("svg");
font-style: italic;
}
}
@font-face {
font-family: 'Roboto';
src: url("../fonts/roboto-bold.eot");
src: url("../fonts/roboto-bold.eot?#iefix") format("embedded-opentype"), url("../fonts/roboto-bold.woff") format("woff"), url("../fonts/roboto-bold.ttf") format("truetype"), url("../fonts/roboto-bold.svg#robotobold") format("svg");
font-weight: 700;
}
@media screen and (-webkit-min-device-pixel-ratio: 0) {
@font-face {
font-family: 'Roboto';
src: url("../fonts/roboto-bold.svg#robotobold") format("svg");
font-weight: 700;
}
}
.wrapper {
max-width: 680px;
margin-right: auto;
Expand Down
2 changes: 1 addition & 1 deletion css/crcommunity.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion css/crcommunity.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
@import
"vars",
"ui/normalize",
"ui/roboto",
"ui/misc",
"ui/typography",
"ui/site-logo"
Expand Down
Loading