Skip to content

Commit 2e909c3

Browse files
committed
Jekyll site launch.
1 parent 3f682b8 commit 2e909c3

File tree

88 files changed

+8449
-0
lines changed

Some content is hidden

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

88 files changed

+8449
-0
lines changed

_config.yml

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# Site settings
2+
title: Coder Coded
3+
4+
description: > # this means to ignore newlines until "baseurl:"
5+
Write an awesome description for your new site here. You can edit this
6+
line in _config.yml. It will appear in your document head meta (for
7+
Google search results) and in your feed.xml site description.
8+
baseurl: "" # the subpath of your site, e.g. /blog/
9+
url: "http://codercoded.com" # the base hostname & protocol for your site
10+
twitter_username: codercoded
11+
github_username: CoderCoded
12+
vimeo_username: codercoded
13+
14+
# Build settings
15+
markdown: kramdown
16+
17+
# Serve settings
18+
host: 0.0.0.0

_includes/footer.html

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
<div id="site-footer" class="wrapper style4">
2+
<footer>
3+
4+
<h4>Find us on:</h4>
5+
6+
<ul class="social">
7+
<li><a href="https://github.com/{{ site.github_username }}" class="icon fa-github"><span class="label">Github</span></a></li>
8+
<li><a href="https://twitter.com/{{ site.twitter_username }}" class="icon fa-twitter"><span class="label">Twitter</span></a></li>
9+
<li><a href="https://vimeo.com/{{ site.vimeo_username }}" class="icon fa-vimeo"><span class="label">Vimeo</span></a></li>
10+
</ul>
11+
12+
<p id="#copyright">&copy; Coder Coded {{ site.time | date: "%Y" }}. Site template based on <a href="http://html5up.net/miniport">Miniport</a> by <a href="http://n33.co/">n33</a>, used under <a href="http://creativecommons.org/licenses/by/3.0/">CC BY</a>.</p>
13+
14+
</footer>
15+
</div>

_includes/head.html

+38
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
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+
<!--[if lte IE 8]><script src="{{ "/js/ie/html5shiv.js" | prepend: site.baseurl }}"></script><![endif]-->
10+
<link rel="stylesheet" href="{{ "/css/main.css" | prepend: site.baseurl }}">
11+
<!--[if lte IE 8]><link rel="stylesheet" href="{{ "/css/ie8.css" | prepend: site.baseurl }}" /><![endif]-->
12+
<!--[if lte IE 9]><link rel="stylesheet" href="{{ "/css/ie9.css" | prepend: site.baseurl }}" /><![endif]-->
13+
14+
<link rel="canonical" href="{{ page.url | replace:'index.html','' | prepend: site.baseurl | prepend: site.url }}">
15+
<link rel="alternate" type="application/rss+xml" title="{{ site.title }}" href="{{ "/feed.xml" | prepend: site.baseurl | prepend: site.url }}" />
16+
17+
<link rel="apple-touch-icon" sizes="57x57" href="/icons/apple-touch-icon-57x57.png?v=2">
18+
<link rel="apple-touch-icon" sizes="60x60" href="/icons/apple-touch-icon-60x60.png?v=2">
19+
<link rel="apple-touch-icon" sizes="72x72" href="/icons/apple-touch-icon-72x72.png?v=2">
20+
<link rel="apple-touch-icon" sizes="76x76" href="/icons/apple-touch-icon-76x76.png?v=2">
21+
<link rel="apple-touch-icon" sizes="114x114" href="/icons/apple-touch-icon-114x114.png?v=2">
22+
<link rel="apple-touch-icon" sizes="120x120" href="/icons/apple-touch-icon-120x120.png?v=2">
23+
<link rel="apple-touch-icon" sizes="144x144" href="/icons/apple-touch-icon-144x144.png?v=2">
24+
<link rel="apple-touch-icon" sizes="152x152" href="/icons/apple-touch-icon-152x152.png?v=2">
25+
<link rel="apple-touch-icon" sizes="180x180" href="/icons/apple-touch-icon-180x180.png?v=2">
26+
<link rel="icon" type="image/png" href="/icons/favicon-32x32.png?v=2" sizes="32x32">
27+
<link rel="icon" type="image/png" href="/icons/favicon-194x194.png?v=2" sizes="194x194">
28+
<link rel="icon" type="image/png" href="/icons/favicon-96x96.png?v=2" sizes="96x96">
29+
<link rel="icon" type="image/png" href="/icons/android-chrome-192x192.png?v=2" sizes="192x192">
30+
<link rel="icon" type="image/png" href="/icons/favicon-16x16.png?v=2" sizes="16x16">
31+
<link rel="manifest" href="/icons/manifest.json?v=2">
32+
<link rel="mask-icon" href="/icons/safari-pinned-tab.svg?v=2" color="#00a000">
33+
<link rel="shortcut icon" href="/icons/favicon.ico?v=2">
34+
<meta name="msapplication-TileColor" content="#00a000">
35+
<meta name="msapplication-TileImage" content="/mstile-144x144.png?v=2">
36+
<meta name="theme-color" content="#00a000">
37+
38+
</head>

_includes/nav.html

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
<nav id="nav">
2+
<ul class="container">
3+
<li><a href="#top">Top</a></li>
4+
<li><a href="#work">Work</a></li>
5+
<li><a href="#references">References</a></li>
6+
<li><a href="#contact">Contact</a></li>
7+
<!-- <li><a href="/blog/">Blog</a></li> -->
8+
</ul>
9+
</nav>

_includes/nav_blog.html

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
<nav id="nav" class="blog-nav">
2+
<ul class="container">
3+
<li class="logo"><img src="/images/crcd_logo_flat_tp.png" alt="" /></li>
4+
<li><a href="/#top">Home</a></li>
5+
<li><a href="/#work">Work</a></li>
6+
<li><a href="/#references">References</a></li>
7+
<li><a href="/#contact">Contact</a></li>
8+
<!-- <li><a href="/blog/">Blog</a></li> -->
9+
</ul>
10+
</nav>

_includes/scripts.html

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
<script src="{{ "/js/jquery.min.js" | prepend: site.baseurl }}"></script>
2+
<script src="{{ "/js/jquery.scrolly.min.js" | prepend: site.baseurl }}"></script>
3+
<script src="{{ "/js/skel.min.js" | prepend: site.baseurl }}"></script>
4+
<script src="{{ "/js/skel-viewport.min.js" | prepend: site.baseurl }}"></script>
5+
<script src="{{ "/js/util.js" | prepend: site.baseurl }}"></script>
6+
<!--[if lte IE 8]><script src="{{ "/js/ie/respond.min.js" | prepend: site.baseurl }}"></script><![endif]-->
7+
<script src="{{ "/js/main.js" | prepend: site.baseurl }}"></script>

_layouts/base.html

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
<!DOCTYPE html>
2+
<html>
3+
4+
{% include head.html %}
5+
6+
<body>
7+
8+
{% include nav.html %}
9+
10+
{{ content }}
11+
12+
{% include footer.html %}
13+
14+
{% include scripts.html %}
15+
16+
</body>
17+
18+
</html>

_layouts/blog.html

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
<!DOCTYPE html>
2+
<html>
3+
4+
{% include head.html %}
5+
6+
<body>
7+
8+
{% include nav_blog.html %}
9+
10+
{{ content }}
11+
12+
{% include footer.html %}
13+
14+
{% include scripts.html %}
15+
16+
</body>
17+
18+
</html>

_layouts/post.html

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
---
2+
layout: base
3+
---
4+
<div class="post">
5+
6+
<header class="post-header">
7+
<h1 class="post-title">{{ page.title }}</h1>
8+
<p class="post-meta">{{ page.date | date: "%b %-d, %Y" }}{% if page.author %} • {{ page.author }}{% endif %}{% if page.meta %} • {{ page.meta }}{% endif %}</p>
9+
</header>
10+
11+
<article class="post-content">
12+
{{ content }}
13+
</article>
14+
15+
</div>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
---
2+
layout: post
3+
title: "Welcome to Jekyll!"
4+
date: 2015-10-15 15:54:54
5+
categories: jekyll update
6+
---
7+
You’ll find this post in your `_posts` directory. Go ahead and edit it and re-build the site to see your changes. You can rebuild the site in many different ways, but the most common way is to run `jekyll serve`, which launches a web server and auto-regenerates your site when a file is updated.
8+
9+
To add new posts, simply add a file in the `_posts` directory that follows the convention `YYYY-MM-DD-name-of-post.ext` and includes the necessary front matter. Take a look at the source for this post to get an idea about how it works.
10+
11+
Jekyll also offers powerful support for code snippets:
12+
13+
{% highlight ruby %}
14+
def print_hi(name)
15+
puts "Hi, #{name}"
16+
end
17+
print_hi('Tom')
18+
#=> prints 'Hi, Tom' to STDOUT.
19+
{% endhighlight %}
20+
21+
Check out the [Jekyll docs][jekyll] for more info on how to get the most out of Jekyll. File all bugs/feature requests at [Jekyll’s GitHub repo][jekyll-gh]. If you have questions, you can ask them on [Jekyll’s dedicated Help repository][jekyll-help].
22+
23+
[jekyll]: http://jekyllrb.com
24+
[jekyll-gh]: https://github.com/jekyll/jekyll
25+
[jekyll-help]: https://github.com/jekyll/jekyll-help

0 commit comments

Comments
 (0)