Skip to content

Commit 2dc49f1

Browse files
committed
Initial commit
0 parents  commit 2dc49f1

35 files changed

+909
-0
lines changed

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
_site
2+
.sass-cache
3+
Gemfile.lock
4+
.bundle

Gemfile

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
source "https://rubygems.org"
2+
ruby RUBY_VERSION
3+
4+
# Hello! This is where you manage which Jekyll version is used to run.
5+
# When you want to use a different version, change it below, save the
6+
# file and run `bundle install`. Run Jekyll with `bundle exec`, like so:
7+
#
8+
# bundle exec jekyll serve
9+
#
10+
# This will help ensure the proper Jekyll version is running.
11+
# Happy Jekylling!
12+
# gem "jekyll", "3.2.1"
13+
14+
# This is the default theme for new Jekyll sites. You may change this to anything you like.
15+
# gem "minima"
16+
17+
# If you want to use GitHub Pages, remove the "gem "jekyll"" above and
18+
# uncomment the line below. To upgrade, run `bundle update github-pages`.
19+
gem "github-pages", group: :jekyll_plugins
20+
21+
# If you have any plugins, put them here!
22+
# group :jekyll_plugins do
23+
# gem "jekyll-github-metadata", "~> 1.0"
24+
# end

_config.yml

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
# Welcome to Jekyll!
2+
#
3+
# This config file is meant for settings that affect your whole blog, values
4+
# which you are expected to set up once and rarely edit after that. If you find
5+
# yourself editing these this file very often, consider using Jekyll's data files
6+
# feature for the data you need to update frequently.
7+
#
8+
# For technical reasons, this file is *NOT* reloaded automatically when you use
9+
# 'jekyll serve'. If you change this file, please restart the server process.
10+
11+
# Site settings
12+
# These are used to personalize your new site. If you look in the HTML files,
13+
# you will see them accessed via {{ site.title }}, {{ site.email }}, and so on.
14+
# You can create any custom variable you would like, and they will be accessible
15+
# in the templates via {{ site.myvariable }}.
16+
title: Your awesome title
17+
email: your-email@domain.com
18+
description: > # this means to ignore newlines until "baseurl:"
19+
Write an awesome description for your new site here. You can edit this
20+
line in _config.yml. It will appear in your document head meta (for
21+
Google search results) and in your feed.xml site description.
22+
baseurl: "" # the subpath of your site, e.g. /blog
23+
url: "http://example.com" # the base hostname & protocol for your site
24+
25+
# Social
26+
githubUsername:
27+
twitterUsername:
28+
29+
# Build settings
30+
markdown: kramdown
31+
32+
permalink: /:year/:month/:title
33+
markdown: kramdown
34+
include: [_pages]
35+
exclude: [_site, README.md]
36+
sass:
37+
style: compressed

_includes/footer.html

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
<footer class="c-footer">
2+
<div class="u-container c-footer__container">
3+
<p>&copy; {{ site.title }} {{ site.time | date: '%Y' }}</p>
4+
<p>
5+
{% if site.twitterUsername %}<a href="https://twitter.com/{{ site.twitterUsername }}">Twitter</a>{% endif %}
6+
{% if site.githubUsername %}<a href="https://github.com/{{ site.githubUsername }}">Github</a>{% endif %}
7+
</p>
8+
</div>
9+
</footer>

_includes/head.html

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
<head>
2+
<meta charset="utf-8">
3+
<meta http-equiv="X-UA-Compatible" content="IE=edge">
4+
<meta name="viewport" content="width=device-width, initial-scale=1">
5+
6+
<title>{% if page.title %}{{ page.title }}{% else %}{{ site.title }}{% endif %}</title>
7+
<meta name="description" content="{% if page.excerpt %}{{ page.excerpt | strip_html | strip_newlines | truncate: 160 }}{% else %}{{ site.description }}{% endif %}">
8+
9+
<link href='https://fonts.googleapis.com/css?family=Roboto:400,400italic,700|Roboto+Mono:400,500' rel='stylesheet' type='text/css'>
10+
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
11+
<link rel="stylesheet" href="{{ "/css/main.css" | prepend: site.baseurl }}">
12+
<link rel="canonical" href="{{ page.url | replace:'index.html','' | prepend: site.baseurl | prepend: site.url }}">
13+
</head>

_includes/navigation.html

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
<nav class="c-navigation is-fixed">
2+
<div class="c-navigation__container u-container">
3+
<a class="c-navigation__item {% if page.url == '/' %}is-active{% endif %}" href="{{ "/" | prepend: site.baseurl }}">Home</a>
4+
<a class="c-navigation__item {% if page.url == '/articles/' %}is-active{% endif %}" href="{{ "/articles/" | prepend: site.baseurl }}">Articles</a>
5+
<a class="c-navigation__item {% if page.url == '/about/' %}is-active{% endif %}" href="{{ "/about/" | prepend: site.baseurl }}">About</a>
6+
</div>
7+
</nav>

_includes/social.html

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
<div class="c-social">
2+
<ul class="c-social__list">
3+
<li>
4+
<h3 class="c-social__title">Google+</h3>
5+
<p class="c-social__description">Lorem ipsum dolor sit amet, consectetur adipisicing elit. Ullam, consequatur!</p>
6+
</li>
7+
8+
<li>
9+
<h3 class="c-social__title">Google+</h3>
10+
<p class="c-social__description">Lorem ipsum dolor sit amet, consectetur adipisicing elit. Et, quo.</p>
11+
</li>
12+
13+
<li>
14+
<h3 class="c-social__title">Google+</h3>
15+
<p class="c-social__description">Lorem ipsum dolor sit amet, consectetur adipisicing elit. Officia, voluptatem.</p>
16+
</li>
17+
18+
<li>
19+
<h3 class="c-social__title">Google+</h3>
20+
<p class="c-social__description">Lorem ipsum dolor sit amet, consectetur adipisicing elit. At, rerum.</p>
21+
</li>
22+
</ul>
23+
</div>

_layouts/default.html

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
<!DOCTYPE html>
2+
<html class="t-black">
3+
{% include head.html %}
4+
<body>
5+
{% include navigation.html %}
6+
7+
{{ content }}
8+
9+
{% include footer.html %}
10+
</body>
11+
</html>

_layouts/page.html

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
---
2+
layout: default
3+
---
4+
<article class="c-article">
5+
<header class="c-header c-article__header">
6+
<div class="u-container">
7+
<h1 class="c-header__title">{{ page.title }}</h1>
8+
</div>
9+
</header>
10+
11+
<div class="c-article__main">
12+
{{ content }}
13+
</div>
14+
</article>

_layouts/post.html

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
---
2+
layout: page
3+
---
4+
{{ content }}

0 commit comments

Comments
 (0)