Skip to content

Commit 72ac450

Browse files
committed
First commit of base theme.
0 parents  commit 72ac450

20 files changed

Lines changed: 1089 additions & 0 deletions

.gitignore

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
_site
2+
.DS_Store
3+
.jekyll
4+
.bundle
5+
.sass-cache
6+
Gemfile
7+
Gemfile.lock
8+
node_modules/*
9+
package.json

Gruntfile.js

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
2+
module.exports = function(grunt) {
3+
grunt.initConfig({
4+
pkg: grunt.file.readJSON("package.json"),
5+
6+
watch: {
7+
sass: {
8+
files: ["scss/**/*.{scss,sass}"],
9+
tasks: ["sass:dev"]
10+
}
11+
},
12+
13+
sass: {
14+
dev: {
15+
options: {
16+
style: 'nested'
17+
},
18+
files: {
19+
'_site/style.css': 'scss/style.scss',
20+
'style.css': 'scss/style.scss'
21+
}
22+
},
23+
},
24+
});
25+
26+
grunt.registerTask("default", ["watch"]);
27+
28+
grunt.loadNpmTasks('grunt-sass');
29+
grunt.loadNpmTasks("grunt-contrib-watch");
30+
};

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
2+
# README

_config.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: Jekyll Boilerplate
2+
3+
markdown: redcarpet
4+
markdown_ext: md
5+
6+
pygments: true
7+
8+
exclude:
9+
- Gemfile
10+
- Gemfile.lock
11+
- scss
12+
- js
13+
- README.md
14+
15+
disqus:
16+
shortname: ''
17+
18+
googleanalytics:
19+
id: ''
20+
21+
links:
22+
#github: https://github.com/YOUR-USERNAME
23+
#twitter: https://twitter.com/YOUR-USERNAME
24+
#linkedin: https://linkedin.com/in/YOUR-USERNAME
25+
#avatar: http://YOUR-USERNAME.github.io/images/avatar.jpg

_includes/analytics.html

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
<!-- Google Analytics -->
2+
<script type="text/javascript">
3+
4+
var _gaq = _gaq || [];
5+
_gaq.push(['_setAccount', '{{ site.googleanalytics.id }}']);
6+
_gaq.push(['_trackPageview']);
7+
8+
(function() {
9+
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
10+
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
11+
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
12+
})();
13+
14+
</script>

_includes/disqus.html

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
<div id="disqus_thread"></div>
2+
<script type="text/javascript">
3+
/* * * CONFIGURATION VARIABLES: EDIT BEFORE PASTING INTO YOUR WEBPAGE * * */
4+
var disqus_shortname = '{{ site.disqus.shortname }}'; // required: replace example with your forum shortname
5+
6+
{% if include.disqus_identifier %}
7+
var disqus_identifier = "{{ include.disqus_identifier }}";
8+
{% endif %}
9+
10+
(function() {
11+
var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
12+
dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js';
13+
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
14+
})();
15+
</script>
16+
<noscript>Please enable JavaScript to view the <a href="http://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript>

_layouts/default.html

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
<!DOCTYPE html>
2+
<html>
3+
<head>
4+
<meta charset="utf-8" />
5+
<meta content='text/html; charset=utf-8' http-equiv='Content-Type'>
6+
<meta http-equiv='X-UA-Compatible' content='IE=edge,chrome=1'>
7+
<meta name='viewport' content='width=device-width, initial-scale=1.0, maximum-scale=1.0'>
8+
9+
<title>{% if page.title %}{{ page.title }} | {% endif %}{{ site.name }}</title>
10+
11+
<meta name="author" content="{{ site.name }}" />
12+
<meta name="description" content="{{ site.description }}">
13+
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
14+
15+
<!--[if IE]>
16+
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
17+
<![endif]-->
18+
19+
<link rel="stylesheet" type="text/css" href="/style.css" />
20+
</head>
21+
22+
<body>
23+
<header>
24+
<a href="/" class="logo"><img src="/404.ups" /></a>
25+
26+
<nav>
27+
<a href="/">Blog</a>
28+
<a href="/about">About</a>
29+
</nav>
30+
31+
<div style="clear:both;"></div>
32+
</header>
33+
34+
<div id="main" role="main">{{ content }}</div>
35+
36+
<footer>
37+
<p></p>
38+
</footer>
39+
40+
{% include analytics.html %}
41+
</body>
42+
</html>

_layouts/page.html

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

_layouts/post.html

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
---
2+
layout: default
3+
---
4+
5+
<article class="post">
6+
<h1>{{ page.title }}</h1>
7+
8+
<div class="entry">
9+
{{ content }}
10+
</div>
11+
12+
<section id="comments">
13+
{% include disqus.html disqus_identifier=page.disqus_identifier %}
14+
</section>
15+
</article>

_posts/2014-1-1-Test-Post.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
---
2+
layout: post
3+
title: Test Post
4+
---
5+
6+
First test post!
7+
8+
### H3
9+
10+
Hoy hoy hoy!

0 commit comments

Comments
 (0)