Skip to content

Commit

Permalink
Balzactheme test
Browse files Browse the repository at this point in the history
  • Loading branch information
Kris Shaffer committed Aug 18, 2014
1 parent a1e8da7 commit d336961
Show file tree
Hide file tree
Showing 77 changed files with 4,461 additions and 16 deletions.
Binary file modified .DS_Store
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
4 changes: 4 additions & 0 deletions 404.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
---
layout: "404"
title: "Page Not Found"
---
6 changes: 6 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
source 'https://rubygems.org'

gem 'jekyll'
gem 'jekyll-minibundle'
gem 'coderay'
gem 'rake'
46 changes: 46 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
GEM
remote: https://rubygems.org/
specs:
classifier (1.3.3)
fast-stemmer (>= 1.0.0)
coderay (1.0.9)
colorator (0.1)
commander (4.1.4)
highline (~> 1.6.11)
directory_watcher (1.4.1)
fast-stemmer (1.0.2)
highline (1.6.19)
jekyll (1.1.2)
classifier (~> 1.3)
colorator (~> 0.1)
commander (~> 4.1.3)
directory_watcher (~> 1.4.1)
kramdown (~> 1.0.2)
liquid (~> 2.5.1)
maruku (~> 0.5)
pygments.rb (~> 0.5.0)
redcarpet (~> 2.2.2)
safe_yaml (~> 0.7.0)
jekyll-minibundle (1.1.0)
kramdown (1.0.2)
liquid (2.5.1)
maruku (0.6.1)
syntax (>= 1.0.0)
posix-spawn (0.3.6)
pygments.rb (0.5.2)
posix-spawn (~> 0.3.6)
yajl-ruby (~> 1.1.0)
rake (10.1.0)
redcarpet (2.2.2)
safe_yaml (0.7.1)
syntax (1.0.0)
yajl-ruby (1.1.0)

PLATFORMS
ruby

DEPENDENCIES
coderay
jekyll
jekyll-minibundle
rake
1 change: 1 addition & 0 deletions Icons.json

Large diffs are not rendered by default.

70 changes: 69 additions & 1 deletion _config.yml
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1 +1,69 @@
markdown: kramdown
title: Open Music Theory
tagline:
description:
#Comment out url when working locally to resolve base urls correctly
#url: http://hybrid-pedagogy.github.io/openmusictheory
#baseurl: http://hybrid-pedagogy.github.io/openmusictheory
url: /Users/krisshaffer/Websites/openmusictheory


# Owner/author information
owner:
name: Kris Shaffer
avatar:
bio:
email: kris@hybridpedagogy.org
twitter: krisshaffer
github: kshaffer
instagram:
dribbble:
disqus:
location: "Boulder, CO"
# Plug in your disqus shortname!

tools:
standards: "HTML, SCSS, Jekyll"
software: "git"

# Links to include in top navigation
# For external links add external: true
links:
- title: About
url: /about.html
- title: Contents
url: /contents.html
- title: "#OpenMusicTheory"
url: "https://twitter.com/search?f=realtime&q=%23OpenMusicTheory"
external: true
- title: Hybrid Pedagogy Publishing
url: "http://www.hybridpedagogy.org/#publishing"
external: true

# http://en.wikipedia.org/wiki/List_of_tz_database_time_zones
timezone: America/New_York
future: true
pygments: true
markdown: kramdown

kramdown:
auto_ids: true
footnote_nr: 1
entity_output: as_char
toc_levels: 1..6
use_coderay: false

coderay:
coderay_line_numbers:
coderay_line_numbers_start: 1
coderay_tab_width: 4
coderay_bold_every: 10
coderay_css: class

sass:
style: :compressed

# https://github.com/mojombo/jekyll/wiki/Permalinks
permalink: /:categories/:title

include: [".htaccess"]
exclude: ["lib", "config.rb", "Capfile", "config", "log", "Rakefile", "Rakefile.rb", "tmp"]
41 changes: 41 additions & 0 deletions _includes/footer.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
<div class="push"></div>
<footer>
<aside class="wrap">
<ol class="prev-posts">
<p class="list-title">Recent Posts</p>
{% for post in site.posts | limit:3 %} <!-- for1 -->
<li>
<span class="recent-title"><a href="{{ site.url }}{{ post.url }}" title="{{ post.title }}">{{ post.title | strip_html | strip_newlines | truncate: 30 }} </a></span>
<span class="date">{{post.date | date: "%b %d, %Y" }}</span>
</li>
{% endfor %}
</ol>

<div class="social">
<ul>
<li><a id="mail" href="mailto:{{ site.owner.email }}"><span class="foot-link">Contact Me</span></a></li>

{% if site.owner.twitter %}
<li><a id="twit" href="http://twitter.com/{{ site.owner.twitter }}" target="_blank"><span class="foot-link">@{{ site.owner.twitter }}</span></a></li>
{% endif %}


{% if site.owner.dribbble %}
<li><a id="drib" href="http://dribbble.com/{{ site.owner.dribbble }}" target="_blank"><span class="foot-link">Dribbble</span></a></li>
{% endif %}
</ul>
</div>
</aside>
<small>&copy; {{ site.time | date: '%Y' }} {{ site.owner.name }}. Powered by <a href="http://jekyllrb.com">Jekyll</a> using the <a href="http://jekyll.gtat.me/about">Balzac</a> theme.</small>
</footer>

<!-- If they're out, get some from the cellar -->
<script>window.jQuery || document.write('<script src="{{ site.url }}/assets/js/vendor/jquery-1.9.1.min.js"><\/script>')</script>
<script src="{{ site.url }}/assets/js/retina.min.js"></script>

<!-- Custom JS -->
<script src="{{ site.url }}/assets/js/scripts.js"></script>


</body>
</html>
70 changes: 70 additions & 0 deletions _includes/head-dark.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
<meta charset="utf-8">
<title>{% if page.title %}{{ page.title }} &#8211; {% endif %}{{ site.title }}</title>
<meta name="description" content="{{ page.description }}">
<meta name="keywords" content="{{ page.tags | join: ', ' }}">


<meta property="og:locale" content="en_US">
<meta property="og:title" content="{% if page.title %}{{ page.title }} &#8211; {% endif %}{{ site.title }}">
<meta property="og:description" content="{% if page.description %}{{ page.description | strip_html | strip_newlines | truncate: 120 }}{% else %}{{ page.content | strip_html | strip_newlines | truncate: 120 }}{% endif %}">
<meta property="og:url" content="{{ site.url }}{{ page.url }}">
<meta property="og:site_name" content="{{ site.title }}">


<link href="{{ site.url }}/feed.xml" type="application/atom+xml" rel="alternate" title="{{ site.title }} Feed">

<!-- http://t.co/dKP3o1e -->
<meta name="HandheldFriendly" content="True">
<meta name="MobileOptimized" content="320">
<meta name="viewport" content="width=device-width, initial-scale=1.0">

<!-- Type -->
<link rel="stylesheet" href="//fonts.googleapis.com/css?family=Crimson+Text:400,400italic,700,700italic" rel='stylesheet' type='text/css' />
<link href="//fonts.googleapis.com/css?family=Source+Sans+Pro:400,700" rel='stylesheet' type='text/css'>
<link rel="stylesheet" href="{{ site.url }}/assets/css/entypo.css" media="all">

<!-- In order to use Calendas Plus, you must first purchase it. Then, create a font-face package using FontSquirrel.
<link rel='stylesheet' href='{{ site.url }}/assets/cal.css' media='all' />
-->



<!-- For all browsers -->
<link rel="stylesheet" href="{{ site.url }}/assets/css/i.css">

<!-- Fresh Squeezed jQuery -->

<script src="//ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"></script>

<meta http-equiv="cleartype" content="on">

<!-- Load Modernizr -->
<script src="{{ site.url }}/assets/js/vendor/modernizr-2.6.2.custom.min.js"></script>


<!-- Icons -->
<!-- 16x16 -->
<link rel="shortcut icon" href="{{ site.url }}/favicon.ico">

<div id="bump">
<body class="">
<header class="site-header darken">
<div class="wrap">
<hgroup>
<h1><a href="/">{{ site.title }}</a></h1>
</hgroup>
<a href="#nav" class="menu"><span class='icons'></span></a>
<nav role="navigation">
<ul>
<li>
<a href="/" title="{{ site.title }}">Home</a>
</li>

{% for link in site.links %}
<li><a href="{% if link.external %}{{ link.url }}{% else %}{{ site.url }}{{ link.url }}{% endif %}" {% if link.external %}target="_blank"{% endif %}>{{ link.title }}</a></li>
{% endfor %}

</ul>
</nav>
</div>
</header>
72 changes: 72 additions & 0 deletions _includes/head.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
<!doctype html>
<html lang="en">
<meta charset="utf-8">
<title>{% if page.title %}{{ page.title }} &#8211; {% endif %}{{ site.title }}</title>
<meta name="description" content="{{ page.description }}">
<meta name="keywords" content="{{ page.tags | join: ', ' }}">


<meta property="og:locale" content="en_US">
<meta property="og:title" content="{% if page.title %}{{ page.title }} &#8211; {% endif %}{{ site.title }}">
<meta property="og:description" content="{% if page.description %}{{ page.description | strip_html | strip_newlines | truncate: 120 }}{% else %}{{ page.content | strip_html | strip_newlines | truncate: 120 }}{% endif %}">
<meta property="og:url" content="{{ site.baseurl }}{{ page.url }}">
<meta property="og:site_name" content="{{ site.title }}">


<link href="{{ site.baseurl }}/feed.xml" type="application/atom+xml" rel="alternate" title="{{ site.title }} Feed">

<!-- http://t.co/dKP3o1e -->
<meta name="HandheldFriendly" content="True">
<meta name="MobileOptimized" content="320">
<meta name="viewport" content="width=device-width, initial-scale=1.0">

<!-- Type -->
<link rel="stylesheet" href="//fonts.googleapis.com/css?family=Crimson+Text:400,400italic,700,700italic" rel='stylesheet' type='text/css' />
<link href="//fonts.googleapis.com/css?family=Source+Sans+Pro:400,700" rel='stylesheet' type='text/css'>
<link rel="stylesheet" href="{{ site.baseurl }}/assets/css/entypo.css" media="all">

<!-- In order to use Calendas Plus, you must first purchase it. Then, create a font-face package using FontSquirrel.
<link rel='stylesheet' href='{{ site.baseurl }}/assets/cal.css' media='all' />
-->



<!-- For all browsers -->
<link rel="stylesheet" href="{{ site.baseurl }}/assets/css/i.css">

<!-- Fresh Squeezed jQuery -->

<script src="//ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"></script>

<meta http-equiv="cleartype" content="on">

<!-- Load Modernizr -->
<script src="{{ site.baseurl }}/assets/js/vendor/modernizr-2.6.2.custom.min.js"></script>


<!-- Icons -->
<!-- 16x16 -->
<link rel="shortcut icon" href="{{ site.baseurl }}/favicon.ico">

<div id="bump">
<body class="">
<header class="site-header">
<div class="wrap">
<hgroup>
<h1><a href="/">{{ site.title }}</a></h1>
</hgroup>
<a href="#nav" class="menu"><span class='icons'></span></a>
<nav role="navigation">
<ul>
<li>
<a href="/" title="{{ site.title }}">Home</a>
</li>

{% for link in site.links %}
<li><a href="{% if link.external %}{{ link.url }}{% else %}{{ site.baseurl }}{{ link.url }}{% endif %}" {% if link.external %}target="_blank"{% endif %}>{{ link.title }}</a></li>
{% endfor %}

</ul>
</nav>
</div>
</header>
20 changes: 20 additions & 0 deletions _layouts/404.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{% include head-dark.html %}

<section class="article pad-top">

<article class="wrap post">
<header class="post-header">
<hgroup>
<h1>{{ page.title }}</h1>
<p class="intro">{% if page.description %}{{ page.description }}{% else %}{{ page.tagline }}{% endif %}</p>

</hgroup>
</header>

{{ content }}

</article>
</section>
</div>

{% include footer.html %}
File renamed without changes.
22 changes: 22 additions & 0 deletions _layouts/home.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{% include head-dark.html %}

<div id='bump'>
<section class="article archive">
<article class="archive-wrap">
<ol class="post-list">
<lh><h2><span class="bb">{{ page.title }}</span></h2></lh>
{% for post in site.posts %}
<li>
<div class="deets" itemscope itemtype="http://schema.org/BlogPosting" itemprop="blogPost">
<h1><a href="{{ site.url }}{{ post.url }}">{{ post.title }}</a></h1>
<p class="date"><time datetime="{{ post.date | date_to_xmlschema }}" itemprop="datePublished">{{ post.date | date: "%B %d, %Y" }}</time></p>
<p class="">{% if post.description %}{{ post.description | strip_html | strip_newlines | truncate: 120 }}{% else %}{{ post.content | strip_html | strip_newlines | truncate: 120 }}{% endif %}</p>
</div>
</li>
{% endfor %}
</ol>
</article>
</section>
</div>

{% include footer.html %}
35 changes: 35 additions & 0 deletions _layouts/page.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
{% if page.image.feature %}

{% include head.html %}

<section class="article">

<div class="overlay"></div>
<div class="featured-image" style="background-image: url({{ site.url }}/images/{{ page.image.feature }})"></div>
{% else %}

{% include head-dark.html %}

<section class="article pad-top">

{% endif %}

<article class="wrap post">
<header class="post-header">
<hgroup>
<h1>{{ page.title }}</h1>
<p class="intro">{% if page.description %}{{ page.description }}{% else %}{{ page.tagline }}{% endif %}</p>

</hgroup>
</header>

{{ content }}

<a class="share" href="https://twitter.com/intent/tweet?text=&quot;{{ page.title }}&quot;%20{{ site.url }}{{ page.url }}%20via%20&#64;{{ site.owner.twitter }}" data-dnt="true">Share</a>
<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="//platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>

</article>
</section>
</div>

{% include footer.html %}
Loading

0 comments on commit d336961

Please sign in to comment.