octopress 3.0.0.alpha1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +15 -0
- data/.editorconfig +22 -0
- data/.gitattributes +1 -0
- data/.gitignore +20 -0
- data/.powrc +4 -0
- data/.rspec +5 -0
- data/.rubocop.yml +119 -0
- data/.slugignore +3 -0
- data/.themes/classic/.editorconfig +44 -0
- data/.themes/classic/_config/adn-timeline.yml +10 -0
- data/.themes/classic/_config/delicious-feed.yml +4 -0
- data/.themes/classic/_config/deploy/gh_pages.yml +9 -0
- data/.themes/classic/_config/deploy/rsync.yml +14 -0
- data/.themes/classic/_config/disqus.yml +11 -0
- data/.themes/classic/_config/facebook-like.yml +2 -0
- data/.themes/classic/_config/gauges-analytics.yml +6 -0
- data/.themes/classic/_config/github-repos.yml +24 -0
- data/.themes/classic/_config/google-analytics.yml +6 -0
- data/.themes/classic/_config/google-plus.yml +13 -0
- data/.themes/classic/_config/jekyll.yml +37 -0
- data/.themes/classic/_config/pinboard-feed.yml +4 -0
- data/.themes/classic/_config/require-js.yml +19 -0
- data/.themes/classic/_config/theme.yml +54 -0
- data/.themes/classic/_config/twitter-timeline.yml +9 -0
- data/.themes/classic/assets/javascripts/lib/ios-rotate-scaling-fix.js +18 -0
- data/.themes/classic/assets/javascripts/lib/jquery.cookie.js +92 -0
- data/.themes/classic/assets/javascripts/lib/modernizr.js +447 -0
- data/.themes/classic/assets/javascripts/lib/octopress.js +83 -0
- data/.themes/classic/assets/javascripts/modules/adn-timeline.coffee +68 -0
- data/.themes/classic/assets/javascripts/modules/delicious-feed.coffee +38 -0
- data/.themes/classic/assets/javascripts/modules/github-repos.coffee +60 -0
- data/.themes/classic/assets/javascripts/modules/github.coffee +60 -0
- data/.themes/classic/assets/javascripts/modules/helpers.coffee +96 -0
- data/.themes/classic/assets/javascripts/modules/pinboard-feed.coffee +42 -0
- data/.themes/classic/assets/javascripts/modules/site.coffee +11 -0
- data/.themes/classic/assets/stylesheets/_base.scss +5 -0
- data/.themes/classic/assets/stylesheets/_partials.scss +8 -0
- data/.themes/classic/assets/stylesheets/base/_layout.scss +191 -0
- data/.themes/classic/assets/stylesheets/base/_solarized.scss +75 -0
- data/.themes/classic/assets/stylesheets/base/_theme.scss +92 -0
- data/.themes/classic/assets/stylesheets/base/_typography.scss +168 -0
- data/.themes/classic/assets/stylesheets/base/_utilities.scss +27 -0
- data/.themes/classic/assets/stylesheets/custom/_colors.scss +49 -0
- data/.themes/classic/assets/stylesheets/custom/_fonts.scss +10 -0
- data/.themes/classic/assets/stylesheets/custom/_layout.scss +17 -0
- data/.themes/classic/assets/stylesheets/custom/_styles.scss +2 -0
- data/.themes/classic/assets/stylesheets/partials/_archive.scss +77 -0
- data/.themes/classic/assets/stylesheets/partials/_blog.scss +165 -0
- data/.themes/classic/assets/stylesheets/partials/_footer.scss +19 -0
- data/.themes/classic/assets/stylesheets/partials/_header.scss +18 -0
- data/.themes/classic/assets/stylesheets/partials/_navigation.scss +136 -0
- data/.themes/classic/assets/stylesheets/partials/_sharing.scss +73 -0
- data/.themes/classic/assets/stylesheets/partials/_sidebar.scss +4 -0
- data/.themes/classic/assets/stylesheets/partials/_syntax.scss +234 -0
- data/.themes/classic/assets/stylesheets/partials/sidebar/_base.scss +106 -0
- data/.themes/classic/assets/stylesheets/partials/sidebar/_delicious.scss +4 -0
- data/.themes/classic/assets/stylesheets/partials/sidebar/_googleplus.scss +26 -0
- data/.themes/classic/assets/stylesheets/partials/sidebar/_pinboard.scss +12 -0
- data/.themes/classic/assets/stylesheets/plugins/_plugins.scss +5 -0
- data/.themes/classic/assets/stylesheets/screen.scss +11 -0
- data/.themes/classic/source/404.markdown +9 -0
- data/.themes/classic/source/_includes/after_footer.html +7 -0
- data/.themes/classic/source/_includes/archive_post.html +12 -0
- data/.themes/classic/source/_includes/article.html +23 -0
- data/.themes/classic/source/_includes/comments.html +9 -0
- data/.themes/classic/source/_includes/custom/after_footer.html +3 -0
- data/.themes/classic/source/_includes/custom/after_page.html +1 -0
- data/.themes/classic/source/_includes/custom/after_post.html +0 -0
- data/.themes/classic/source/_includes/custom/comments.html +5 -0
- data/.themes/classic/source/_includes/custom/footer.html +4 -0
- data/.themes/classic/source/_includes/custom/head.html +7 -0
- data/.themes/classic/source/_includes/custom/header.html +6 -0
- data/.themes/classic/source/_includes/custom/navigation.html +4 -0
- data/.themes/classic/source/_includes/custom/page_meta.html +1 -0
- data/.themes/classic/source/_includes/custom/post_meta.html +1 -0
- data/.themes/classic/source/_includes/custom/sharing.html +3 -0
- data/.themes/classic/source/_includes/disqus.html +22 -0
- data/.themes/classic/source/_includes/facebook_like.html +10 -0
- data/.themes/classic/source/_includes/feed_entry.xml +10 -0
- data/.themes/classic/source/_includes/footer.html +1 -0
- data/.themes/classic/source/_includes/gauges_analytics.html +15 -0
- data/.themes/classic/source/_includes/google_analytics.html +13 -0
- data/.themes/classic/source/_includes/google_plus_one.html +9 -0
- data/.themes/classic/source/_includes/head.html +33 -0
- data/.themes/classic/source/_includes/header.html +1 -0
- data/.themes/classic/source/_includes/navigation.html +15 -0
- data/.themes/classic/source/_includes/post/author.html +8 -0
- data/.themes/classic/source/_includes/post/categories.html +10 -0
- data/.themes/classic/source/_includes/post/date.html +15 -0
- data/.themes/classic/source/_includes/post/disqus_thread.html +1 -0
- data/.themes/classic/source/_includes/post/meta.html +3 -0
- data/.themes/classic/source/_includes/post/sharing.html +36 -0
- data/.themes/classic/source/_includes/post/title.html +5 -0
- data/.themes/classic/source/_includes/post/variables.html +14 -0
- data/.themes/classic/source/_includes/sidebars/blog_index_default.html +3 -0
- data/.themes/classic/source/_includes/sidebars/page_default.html +4 -0
- data/.themes/classic/source/_includes/sidebars/post_default.html +4 -0
- data/.themes/classic/source/_includes/sidebars/sections/delicious.html +8 -0
- data/.themes/classic/source/_includes/sidebars/sections/github.html +9 -0
- data/.themes/classic/source/_includes/sidebars/sections/google_plus.html +5 -0
- data/.themes/classic/source/_includes/sidebars/sections/pinboard.html +17 -0
- data/.themes/classic/source/_includes/sidebars/sections/recent_posts.html +10 -0
- data/.themes/classic/source/_includes/twitter_sharing.html +11 -0
- data/.themes/classic/source/_layouts/category_feed.xml +24 -0
- data/.themes/classic/source/_layouts/category_index.html +19 -0
- data/.themes/classic/source/_layouts/default.html +14 -0
- data/.themes/classic/source/_layouts/page.html +34 -0
- data/.themes/classic/source/_layouts/post.html +39 -0
- data/.themes/classic/source/archives/index.html +20 -0
- data/.themes/classic/source/assets/jwplayer/glow/controlbar/background.png +0 -0
- data/.themes/classic/source/assets/jwplayer/glow/controlbar/blankButton.png +0 -0
- data/.themes/classic/source/assets/jwplayer/glow/controlbar/divider.png +0 -0
- data/.themes/classic/source/assets/jwplayer/glow/controlbar/fullscreenButton.png +0 -0
- data/.themes/classic/source/assets/jwplayer/glow/controlbar/fullscreenButtonOver.png +0 -0
- data/.themes/classic/source/assets/jwplayer/glow/controlbar/muteButton.png +0 -0
- data/.themes/classic/source/assets/jwplayer/glow/controlbar/muteButtonOver.png +0 -0
- data/.themes/classic/source/assets/jwplayer/glow/controlbar/normalscreenButton.png +0 -0
- data/.themes/classic/source/assets/jwplayer/glow/controlbar/normalscreenButtonOver.png +0 -0
- data/.themes/classic/source/assets/jwplayer/glow/controlbar/pauseButton.png +0 -0
- data/.themes/classic/source/assets/jwplayer/glow/controlbar/pauseButtonOver.png +0 -0
- data/.themes/classic/source/assets/jwplayer/glow/controlbar/playButton.png +0 -0
- data/.themes/classic/source/assets/jwplayer/glow/controlbar/playButtonOver.png +0 -0
- data/.themes/classic/source/assets/jwplayer/glow/controlbar/timeSliderBuffer.png +0 -0
- data/.themes/classic/source/assets/jwplayer/glow/controlbar/timeSliderCapLeft.png +0 -0
- data/.themes/classic/source/assets/jwplayer/glow/controlbar/timeSliderCapRight.png +0 -0
- data/.themes/classic/source/assets/jwplayer/glow/controlbar/timeSliderProgress.png +0 -0
- data/.themes/classic/source/assets/jwplayer/glow/controlbar/timeSliderRail.png +0 -0
- data/.themes/classic/source/assets/jwplayer/glow/controlbar/unmuteButton.png +0 -0
- data/.themes/classic/source/assets/jwplayer/glow/controlbar/unmuteButtonOver.png +0 -0
- data/.themes/classic/source/assets/jwplayer/glow/display/background.png +0 -0
- data/.themes/classic/source/assets/jwplayer/glow/display/bufferIcon.png +0 -0
- data/.themes/classic/source/assets/jwplayer/glow/display/muteIcon.png +0 -0
- data/.themes/classic/source/assets/jwplayer/glow/display/playIcon.png +0 -0
- data/.themes/classic/source/assets/jwplayer/glow/dock/button.png +0 -0
- data/.themes/classic/source/assets/jwplayer/glow/glow.xml +115 -0
- data/.themes/classic/source/assets/jwplayer/glow/playlist/item.png +0 -0
- data/.themes/classic/source/assets/jwplayer/glow/playlist/itemOver.png +0 -0
- data/.themes/classic/source/assets/jwplayer/glow/playlist/sliderCapBottom.png +0 -0
- data/.themes/classic/source/assets/jwplayer/glow/playlist/sliderCapTop.png +0 -0
- data/.themes/classic/source/assets/jwplayer/glow/playlist/sliderRail.png +0 -0
- data/.themes/classic/source/assets/jwplayer/glow/playlist/sliderThumb.png +0 -0
- data/.themes/classic/source/assets/jwplayer/glow/sharing/embedIcon.png +0 -0
- data/.themes/classic/source/assets/jwplayer/glow/sharing/embedScreen.png +0 -0
- data/.themes/classic/source/assets/jwplayer/glow/sharing/shareIcon.png +0 -0
- data/.themes/classic/source/assets/jwplayer/glow/sharing/shareScreen.png +0 -0
- data/.themes/classic/source/assets/jwplayer/player.swf +0 -0
- data/.themes/classic/source/atom.xml +23 -0
- data/.themes/classic/source/images/bird_32_gray.png +0 -0
- data/.themes/classic/source/images/bird_32_gray_fail.png +0 -0
- data/.themes/classic/source/images/code_bg.png +0 -0
- data/.themes/classic/source/images/dotted-border.png +0 -0
- data/.themes/classic/source/images/email.png +0 -0
- data/.themes/classic/source/images/icon/facebook.png +0 -0
- data/.themes/classic/source/images/icon/github.png +0 -0
- data/.themes/classic/source/images/icon/googleplus.png +0 -0
- data/.themes/classic/source/images/icon/twitter-bird.png +0 -0
- data/.themes/classic/source/images/icon/twitter.png +0 -0
- data/.themes/classic/source/images/line-tile.png +0 -0
- data/.themes/classic/source/images/noise.png +0 -0
- data/.themes/classic/source/images/rss.png +0 -0
- data/.themes/classic/source/images/search.png +0 -0
- data/.themes/classic/source/index.html +30 -0
- data/.themes/classic/source/javascripts/jquery.min.js +5 -0
- data/.themes/classic/source/octopress-favicon.png +0 -0
- data/.themes/classic/source/robots.txt +7 -0
- data/.travis.yml +6 -0
- data/CHANGELOG.markdown +46 -0
- data/CONTRIBUTING.markdown +17 -0
- data/Gemfile +2 -0
- data/README.markdown +37 -0
- data/Rakefile +76 -0
- data/bin/octopress +66 -0
- data/lib/console +17 -0
- data/lib/guard/jekyll.rb +33 -0
- data/lib/octopress.rb +89 -0
- data/lib/octopress/command.rb +9 -0
- data/lib/octopress/commands.rb +14 -0
- data/lib/octopress/commands/build.rb +17 -0
- data/lib/octopress/commands/build_javascripts.rb +11 -0
- data/lib/octopress/commands/build_jekyll.rb +25 -0
- data/lib/octopress/commands/build_stylesheets.rb +13 -0
- data/lib/octopress/commands/install.rb +45 -0
- data/lib/octopress/commands/new.rb +21 -0
- data/lib/octopress/commands/scaffold.rb +101 -0
- data/lib/octopress/commands/serve.rb +25 -0
- data/lib/octopress/configuration.rb +231 -0
- data/lib/octopress/core_ext.rb +44 -0
- data/lib/octopress/dependency_installer.rb +287 -0
- data/lib/octopress/errors.rb +3 -0
- data/lib/octopress/filters/content.rb +66 -0
- data/lib/octopress/filters/date.rb +46 -0
- data/lib/octopress/filters/post.rb +175 -0
- data/lib/octopress/filters/url.rb +34 -0
- data/lib/octopress/formatters.rb +9 -0
- data/lib/octopress/formatters/base_formatter.rb +17 -0
- data/lib/octopress/formatters/simple_formatter.rb +9 -0
- data/lib/octopress/formatters/verbose_formatter.rb +9 -0
- data/lib/octopress/generators/category_generator.rb +196 -0
- data/lib/octopress/generators/sitemap_generator.rb +308 -0
- data/lib/octopress/guardfile +43 -0
- data/lib/octopress/helpers/titlecase.rb +37 -0
- data/lib/octopress/ink.rb +12 -0
- data/lib/octopress/inquirable_string.rb +12 -0
- data/lib/octopress/installer.rb +92 -0
- data/lib/octopress/js_asset_manager.rb +98 -0
- data/lib/octopress/liquid_helpers/conditional.rb +36 -0
- data/lib/octopress/liquid_helpers/config.rb +58 -0
- data/lib/octopress/liquid_helpers/include.rb +33 -0
- data/lib/octopress/liquid_helpers/url.rb +29 -0
- data/lib/octopress/liquid_helpers/vars.rb +30 -0
- data/lib/octopress/plugin.rb +33 -0
- data/lib/octopress/rake.rb +16 -0
- data/lib/octopress/scaffold/.gitignore +18 -0
- data/lib/octopress/scaffold/site/Gemfile +3 -0
- data/lib/octopress/scaffold/site/config/compass.rb +27 -0
- data/lib/octopress/scaffold/site/config/rack.rb +25 -0
- data/lib/octopress/scaffold/site/config/site.yml +0 -0
- data/lib/octopress/scaffold/site/javascripts/lib/ios-rotate-scaling-fix.js +19 -0
- data/lib/octopress/scaffold/site/javascripts/lib/jquery-1.9.1.js +9598 -0
- data/lib/octopress/scaffold/site/javascripts/lib/jquery.cookie.js +93 -0
- data/lib/octopress/scaffold/site/stylesheets/_config.scss +1 -0
- data/lib/octopress/scaffold/site/stylesheets/_style.scss +1 -0
- data/lib/octopress/scaffold/site/stylesheets/site.scss +16 -0
- data/lib/octopress/tags/assign.rb +34 -0
- data/lib/octopress/tags/capture.rb +31 -0
- data/lib/octopress/tags/config-tag.rb +23 -0
- data/lib/octopress/tags/include.rb +63 -0
- data/lib/octopress/tags/js-assets.rb +23 -0
- data/lib/octopress/tags/puts.rb +39 -0
- data/lib/octopress/tags/render-partial.rb +89 -0
- data/lib/octopress/tags/return.rb +21 -0
- data/lib/octopress/version.rb +3 -0
- data/lib/rake/clean.rake +8 -0
- data/lib/rake/clobber.rake +5 -0
- data/lib/rake/console.rake +5 -0
- data/lib/rake/deploy.rake +4 -0
- data/lib/rake/gen_deploy.rake +2 -0
- data/lib/rake/generate.rake +4 -0
- data/lib/rake/generate_only.rake +14 -0
- data/lib/rake/hygiene.rake +29 -0
- data/lib/rake/install.rake +8 -0
- data/lib/rake/integrate.rake +4 -0
- data/lib/rake/isolate.rake +13 -0
- data/lib/rake/list_drafts.rake +7 -0
- data/lib/rake/new.rake +7 -0
- data/lib/rake/new_page.rake +49 -0
- data/lib/rake/new_post.rake +32 -0
- data/lib/rake/nuke.rake +4 -0
- data/lib/rake/preview.rake +4 -0
- data/lib/rake/push.rake +37 -0
- data/lib/rake/rsync.rake +20 -0
- data/lib/rake/set_root_dir.rake +35 -0
- data/lib/rake/setup_github_pages.rake +115 -0
- data/lib/rake/watch.rake +11 -0
- data/lib/scaffold/Rakefile +142 -0
- data/lib/scaffold/plugin-name.gemspec +43 -0
- data/lib/spec/fixtures/env/defaults/classic.yml +2 -0
- data/lib/spec/fixtures/no_override/defaults/classic.yml +11 -0
- data/lib/spec/fixtures/override/defaults/classic.yml +11 -0
- data/lib/spec/fixtures/override/site.yml +11 -0
- data/lib/spec/octopress/configuration_spec.rb +67 -0
- data/lib/spec/octopress/dependency_installer_spec.rb +66 -0
- data/lib/spec/octopress/ink_spec.rb +10 -0
- data/lib/spec/octopress/octopress_spec.rb +97 -0
- data/lib/spec/spec_helper.rb +22 -0
- data/lib/spec/support/env.rb +36 -0
- data/lib/spec/support/simplecov.rb +52 -0
- data/octopress.gemspec +52 -0
- metadata +697 -0
@@ -0,0 +1,12 @@
|
|
1
|
+
{% capture category %}{{ post.categories | size }}{% endcapture %}
|
2
|
+
{% include post/title.html %}
|
3
|
+
<time datetime="{{ post.date | datetime | date_to_xmlschema }}" pubdate>{{ post.date | date: "<span class='month'>%b</span> <span class='day'>%d</span> <span class='year'>%Y</span>"}}</time>
|
4
|
+
<footer>
|
5
|
+
{% if linklog %}
|
6
|
+
<a rel="bookmark" href="{{ permalink }}">{{ site.permalink_label }}</a>
|
7
|
+
{% endif %}
|
8
|
+
{% if category != '0' %}
|
9
|
+
{% if linklog %} • {% endif %}
|
10
|
+
<span class="categories">posted in {{ post.categories | category_links }}</span>
|
11
|
+
{% endif %}
|
12
|
+
</footer>
|
@@ -0,0 +1,23 @@
|
|
1
|
+
{% unless page.no_header %}
|
2
|
+
<header>
|
3
|
+
{% include post/title.html %}
|
4
|
+
{% unless page.meta == false %}
|
5
|
+
<p class="meta">
|
6
|
+
{% include post/date.html %}{{ time }}
|
7
|
+
• <a rel="bookmark" href="{{ permalink }}">{{ site.permalink_label }}</a>
|
8
|
+
</p>
|
9
|
+
{% endunless %}
|
10
|
+
</header>
|
11
|
+
{% endunless %}
|
12
|
+
<div class="entry-content">{{ content }}</div>
|
13
|
+
{% if index %}
|
14
|
+
<footer>
|
15
|
+
{% if site.disqus.short_name and page.comments != false and post.comments != false and site.disqus.show_comment_count == true %}
|
16
|
+
<p><a class="comments-link" href="{% if index %}{{ permalink }}{% endif %}#disqus_thread" data-disqus-identifier="{% if post.disqus_id %}{{ post.disqus_id }}{% else %}{{ site.url }}{{ post.url }}{% endif %}">View comments »</a></p>
|
17
|
+
|
18
|
+
{% endif %}
|
19
|
+
{% if excerpted != 'false' %}
|
20
|
+
<p><a rel="full-article" href="{{ permalink }}">{{ site.excerpt_link }}</a></p>
|
21
|
+
{% endif %}
|
22
|
+
</footer>
|
23
|
+
{% endif %}
|
@@ -0,0 +1 @@
|
|
1
|
+
{% comment %} Add content at the bottom of every page {% endcomment %}
|
File without changes
|
@@ -0,0 +1,7 @@
|
|
1
|
+
{% comment %}
|
2
|
+
To customize the favicon, assign it to "/url/to/favicon.png"
|
3
|
+
{% endcomment %}
|
4
|
+
{% assign favicon = false %}
|
5
|
+
<!--Fonts from Google's Web font directory at http://google.com/webfonts -->
|
6
|
+
<link href='//fonts.googleapis.com/css?family=PT+Serif:regular,italic,bold,bolditalic' rel='stylesheet' type='text/css'>
|
7
|
+
<link href='//fonts.googleapis.com/css?family=PT+Sans:regular,italic,bold,bolditalic' rel='stylesheet' type='text/css'>
|
@@ -0,0 +1 @@
|
|
1
|
+
{% comment %} Add content to the meta section after any page. {% endcomment %}
|
@@ -0,0 +1 @@
|
|
1
|
+
{% comment %} Add content to the meta section after any post. {% endcomment %}
|
@@ -0,0 +1,22 @@
|
|
1
|
+
{% comment %} Load script if disquss comments are enabled and `page.comments` is either empty (index) or set to true {% endcomment %}
|
2
|
+
{% if site.disqus.short_name and page.comments != false %}
|
3
|
+
<script type="text/javascript">
|
4
|
+
var disqus_shortname = '{{ site.disqus.short_name }}';
|
5
|
+
var disqus_developer = '{{ site.disqus.developer }}';
|
6
|
+
{% if page.comments == true %}
|
7
|
+
{% comment %} `page.comments` can be only be set to true on pages/posts, so we embed the comments here. {% endcomment %}
|
8
|
+
// var disqus_developer = 1;
|
9
|
+
var disqus_identifier = '{{ site.url }}{{ page.url }}';
|
10
|
+
var disqus_url = '{{ site.url }}{{ page.url }}';
|
11
|
+
var disqus_script = 'embed.js';
|
12
|
+
{% else %}
|
13
|
+
{% comment %} As `page.comments` is empty, we must be on the index page. {% endcomment %}
|
14
|
+
var disqus_script = 'count.js';
|
15
|
+
{% endif %}
|
16
|
+
(function () {
|
17
|
+
var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
|
18
|
+
dsq.src = '//' + disqus_shortname + '.disqus.com/' + disqus_script;
|
19
|
+
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
|
20
|
+
}());
|
21
|
+
</script>
|
22
|
+
{% endif %}
|
@@ -0,0 +1,10 @@
|
|
1
|
+
{% if site.facebook_like %}
|
2
|
+
<div id="fb-root"></div>
|
3
|
+
<script type="text/javascript">(function(d, s, id) {
|
4
|
+
var js, fjs = d.getElementsByTagName(s)[0];
|
5
|
+
if (d.getElementById(id)) {return;}
|
6
|
+
js = d.createElement(s); js.id = id; js.async = true;
|
7
|
+
js.src = "//connect.facebook.net/en_US/all.js#appId=212934732101925&xfbml=1";
|
8
|
+
fjs.parentNode.insertBefore(js, fjs);
|
9
|
+
}(document, 'script', 'facebook-jssdk'));</script>
|
10
|
+
{% endif %}
|
@@ -0,0 +1,10 @@
|
|
1
|
+
{% assign linklog = false %}
|
2
|
+
{% if post.external-url %}{% capture linklog %}{{ post.external-url | prepend_url: site.url }}{% endcapture %}{% endif %}
|
3
|
+
{% capture title_url %}{% if linklog %}{{ linklog }}{% else %}{{ site.url }}{{ post.url }}{% endif %}{% endcapture %}
|
4
|
+
{% capture title %}{% if linklog and site.linklog_marker_position_feed == 'before' %}{% unless linklog %}{{ site.standard_post_marker }}{% endunless %}{{ site.linklog_marker }} {% endif %}{{ post.title }}{% if linklog and site.linklog_marker_position_feed == 'after' %} {{ site.linklog_marker }}{% endif %}{% endcapture %}
|
5
|
+
{% capture content %}{% if site.excerpt_in_feed %}{{ post.content | excerpt | expand_urls: site.url }}<p><a rel="bookmark" href="{{ site.url }}{{ post.url }}">{{ site.excerpt_link }}</a></p>{% else %}{{ post.content | expand_urls: site.url }}{% endif %}{% if linklog and site.permalink_label_feed %}<p><a rel="bookmark" href="{{ site.url }}{{ post.url }}">{{ site.permalink_label_feed }}</a></p>{% endif %}{% endcapture %}
|
6
|
+
<title type="html"><![CDATA[{{ title | cdata_escape }}]]></title>
|
7
|
+
<link href="{{ title_url }}"/>
|
8
|
+
<updated>{{ post.date | date_to_xmlschema }}</updated>
|
9
|
+
<id>{{ site.url }}{{ post.id }}</id>
|
10
|
+
{% for category in post.categories %}<category term="{{ category }}" />{% endfor %}
|
@@ -0,0 +1 @@
|
|
1
|
+
{% include custom/footer.html %}
|
@@ -0,0 +1,15 @@
|
|
1
|
+
{% if site.gauges_analytics_tracking_id %}
|
2
|
+
<script type="text/javascript">
|
3
|
+
var _gauges = _gauges || [];
|
4
|
+
(function() {
|
5
|
+
var t = document.createElement('script');
|
6
|
+
t.type = 'text/javascript';
|
7
|
+
t.async = true;
|
8
|
+
t.id = 'gauges-tracker';
|
9
|
+
t.setAttribute('data-site-id', '{{ site.gauges_analytics_tracking_id }}');
|
10
|
+
t.src = '//secure.gaug.es/track.js';
|
11
|
+
var s = document.getElementsByTagName('script')[0];
|
12
|
+
s.parentNode.insertBefore(t, s);
|
13
|
+
})();
|
14
|
+
</script>
|
15
|
+
{% endif %}
|
@@ -0,0 +1,13 @@
|
|
1
|
+
{% if site.google_analytics_tracking_id %}
|
2
|
+
<script type="text/javascript">
|
3
|
+
var _gaq = _gaq || [];
|
4
|
+
_gaq.push(['_setAccount', '{{ site.google_analytics_tracking_id }}']);
|
5
|
+
_gaq.push(['_trackPageview']);
|
6
|
+
|
7
|
+
(function() {
|
8
|
+
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
|
9
|
+
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
|
10
|
+
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
|
11
|
+
})();
|
12
|
+
</script>
|
13
|
+
{% endif %}
|
@@ -0,0 +1,9 @@
|
|
1
|
+
{% if site.google_plus_one %}
|
2
|
+
<script type="text/javascript">
|
3
|
+
(function() {
|
4
|
+
var script = document.createElement('script'); script.type = 'text/javascript'; script.async = true;
|
5
|
+
script.src = 'https://apis.google.com/js/plusone.js';
|
6
|
+
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(script, s);
|
7
|
+
})();
|
8
|
+
</script>
|
9
|
+
{% endif %}
|
@@ -0,0 +1,33 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<!--[if IEMobile 7 ]><html class="no-js iem7"><![endif]-->
|
3
|
+
<!--[if lt IE 9]><html class="no-js lte-ie8"><![endif]-->
|
4
|
+
<!--[if (gt IE 8)|(gt IEMobile 7)|!(IEMobile)|!(IE)]><!--><html class="no-js" lang="en"><!--<![endif]-->
|
5
|
+
<head>
|
6
|
+
<meta charset="utf-8">
|
7
|
+
<title>{% if page.title %}{{ page.title }} - {% endif %}{{ site.title }}</title>
|
8
|
+
<meta name="author" content="{{ site.author }}">
|
9
|
+
{% if site.googleplus_user %}<link href="https://plus.google.com/{{ site.googleplus_user }}" rel="author">{% endif %}
|
10
|
+
<meta name="Generator" content="Jekyll & Octopress (http://octopress.org)">
|
11
|
+
|
12
|
+
{% capture description %}{% if page.description %}{{ page.description }}{% elsif site.description %}{{ site.description }}{% endif %}{% endcapture %}{% if description.length %}
|
13
|
+
<meta name="description" content="{{ description }}">{% endif %}
|
14
|
+
{% if page.keywords %}<meta name="keywords" content="{{ page.keywords }}">{% endif %}
|
15
|
+
|
16
|
+
<!-- http://t.co/dKP3o1e -->
|
17
|
+
<meta name="HandheldFriendly" content="True">
|
18
|
+
<meta name="MobileOptimized" content="320">
|
19
|
+
<meta name="viewport" content="width=device-width, initial-scale=1">
|
20
|
+
|
21
|
+
{% capture canonical %}{{ site.url }}{% if site.permalink contains '.html' %}{{ page.url }}{% else %}{% if page.url contains site.category_dir %}/{% endif %}{{ page.url | remove:'index.html' }}{% endif %}{% endcapture %}
|
22
|
+
<link rel="canonical" href="{{ canonical }}">
|
23
|
+
<link href="{{ root_url }}/stylesheets/screen.css" media="screen, projection" rel="stylesheet" type="text/css">
|
24
|
+
<link href="{{ site.subscribe_rss }}" rel="alternate" title="{{site.title}}" type="application/atom+xml">
|
25
|
+
{% include custom/head.html %}
|
26
|
+
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
|
27
|
+
<script>!window.jQuery && document.write(unescape('%3Cscript src="{{ root_url }}/javascripts/jquery.min.js"%3E%3C/script%3E'))</script>
|
28
|
+
<script src="{{ root_url }}{% javascript_assets_tag %}"></script>
|
29
|
+
{% include google_analytics.html %}
|
30
|
+
{% include gauges_analytics.html %}
|
31
|
+
{% unless favicon %}{% capture favicon %}{{ root_url }}/octopress-favicon.png{% endcapture %} {% endunless %}
|
32
|
+
<link href="{{favicon}}" rel="icon">
|
33
|
+
</head>
|
@@ -0,0 +1 @@
|
|
1
|
+
{% include custom/header.html %}
|
@@ -0,0 +1,15 @@
|
|
1
|
+
<ul class="subscription" data-subscription="rss{% if site.subscribe_email %} email{% endif %}">
|
2
|
+
<li><a href="{{ site.subscribe_rss }}" rel="subscribe-rss" title="subscribe via RSS">RSS</a></li>
|
3
|
+
{% if site.subscribe_email %}
|
4
|
+
<li><a href="{{ site.subscribe_email }}" rel="subscribe-email" title="subscribe via email">Email</a></li>
|
5
|
+
{% endif %}
|
6
|
+
</ul>
|
7
|
+
{% if site.simple_search %}
|
8
|
+
<form action="{{ site.simple_search }}" method="get">
|
9
|
+
<fieldset role="search">
|
10
|
+
<input type="hidden" name="q" value="site:{{ site.url | shorthand_url }}" />
|
11
|
+
<input class="search" type="text" name="q" results="0" placeholder="Search"/>
|
12
|
+
</fieldset>
|
13
|
+
</form>
|
14
|
+
{% endif %}
|
15
|
+
{% include custom/navigation.html %}
|
@@ -0,0 +1,8 @@
|
|
1
|
+
{% if post.author %}
|
2
|
+
{% assign author = post.author %}
|
3
|
+
{% elsif page.author %}
|
4
|
+
{% assign author = page.author %}
|
5
|
+
{% else %}
|
6
|
+
{% assign author = site.author %}
|
7
|
+
{% endif %}
|
8
|
+
{% if author %}<span class="byline author vcard">Posted by <span class="fn">{{ author }}</span></span>{% endif %}
|
@@ -0,0 +1,10 @@
|
|
1
|
+
{% capture category %}{% if post %}{{ post.categories | category_links | size }}{% else %}{{ page.categories | category_links | size }}{% endif %}{% endcapture %}
|
2
|
+
{% unless category == '0' %}
|
3
|
+
<span class="categories">
|
4
|
+
{% if post %}
|
5
|
+
{{ post.categories | category_links }}
|
6
|
+
{% else %}
|
7
|
+
{{ page.categories | category_links }}
|
8
|
+
{% endif %}
|
9
|
+
</span>
|
10
|
+
{% endunless %}
|
@@ -0,0 +1,15 @@
|
|
1
|
+
{% capture date %}{{ page.date }}{{ post.date }}{% endcapture %}
|
2
|
+
{% capture date_formatted %}{{ page.date_formatted }}{{ post.date_formatted }}{% endcapture %}
|
3
|
+
{% capture has_date %}{{ date | size }}{% endcapture %}
|
4
|
+
|
5
|
+
{% capture updated %}{{ page.updated }}{{ post.updated }}{% endcapture %}
|
6
|
+
{% capture updated_formatted %}{{ page.updated_formatted }}{{ post.updated_formatted }}{% endcapture %}
|
7
|
+
{% capture was_updated %}{{ updated | size }}{% endcapture %}
|
8
|
+
|
9
|
+
{% if has_date != '0' %}
|
10
|
+
{% capture time %}<time datetime="{{ date | datetime | date_to_xmlschema }}" pubdate{% if updated %} data-updated="true"{% endif %}>{{ date_formatted }}</time>{% endcapture %}
|
11
|
+
{% endif %}
|
12
|
+
|
13
|
+
{% if was_updated != '0' %}
|
14
|
+
{% capture updated %}<time datetime="{{ updated | datetime | date_to_xmlschema }}" class="updated">Updated {{ updated_formatted }}</time>{% endcapture %}
|
15
|
+
{% else %}{% assign updated = false %}{% endif %}
|
@@ -0,0 +1 @@
|
|
1
|
+
<noscript>Please enable JavaScript to view the <a href="http://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript>
|
@@ -0,0 +1,36 @@
|
|
1
|
+
<div class="sharing">
|
2
|
+
{% if site.twitter_tweet_button %}
|
3
|
+
{% if site.respectfully_social %}
|
4
|
+
<a href="http://twitter.com/share" title="Tweet this" class="twitter-share" target="_blank">Tweet</a>
|
5
|
+
{% else %}
|
6
|
+
{% if post.title %}
|
7
|
+
<a href="http://twitter.com/share" class="twitter-share-button" data-url="{{ site.url }}{{ post.url }}" data-via="{{ site.twitter_user }}" data-counturl="{{ site.url }}{{ post.url }}" >Tweet</a>
|
8
|
+
{% else %}
|
9
|
+
<a href="http://twitter.com/share" class="twitter-share-button" data-url="{{ site.url }}{{ page.url }}" data-via="{{ site.twitter_user }}" data-counturl="{{ site.url }}{{ page.url }}" >Tweet</a>
|
10
|
+
{% endif %}
|
11
|
+
{% endif %}
|
12
|
+
{% endif %}
|
13
|
+
{% if site.google_plus_one %}
|
14
|
+
{% if site.respectfully_social %}
|
15
|
+
<a title="+1 on Google Plus" class="googleplus-share" href="https://plusone.google.com/_/+1/confirm?hl=en&url={{site.url}}{{page.url}}" target="_blank">+1</a>
|
16
|
+
{% else %}
|
17
|
+
{% if post.title %}
|
18
|
+
<div class="g-plusone" data-href="{{ site.url }}{{ post.url }}" data-size="{{ site.google_plus_one_size }}"></div>
|
19
|
+
{% else %}
|
20
|
+
<div class="g-plusone" data-href="{{ site.url }}{{ page.url }}" data-size="{{ site.google_plus_one_size }}"></div>
|
21
|
+
{% endif %}
|
22
|
+
{% endif %}
|
23
|
+
{% endif %}
|
24
|
+
{% if site.facebook_like %}
|
25
|
+
{% if site.respectfully_social %}
|
26
|
+
<a title="Share on Facebook" class="facebook-share" href="http://www.facebook.com/sharer.php?u={{site.url}}{{page.url}}" target="_blank">Share</a>
|
27
|
+
{% else %}
|
28
|
+
{% if post.title %}
|
29
|
+
<div class="fb-like" data-href="{{ site.url }}{{ post.url }}" data-send="true" data-width="450" data-show-faces="false"></div>
|
30
|
+
{% else %}
|
31
|
+
<div class="fb-like" data-href="{{ site.url }}{{ page.url }}" data-send="true" data-width="450" data-show-faces="false"></div>
|
32
|
+
{% endif %}
|
33
|
+
{% endif %}
|
34
|
+
{% endif %}
|
35
|
+
{% include custom/sharing.html %}
|
36
|
+
</div>
|
@@ -0,0 +1,5 @@
|
|
1
|
+
<h1 class="entry-title">
|
2
|
+
{% if linklog and site.linklog_marker and site.linklog_marker_position == 'before' %}{{ linklog_marker }}{% endif %}
|
3
|
+
{% if index or linklog %}<a href="{{ title_url }}">{% endif %}{% if site.titlecase and page.titlecase != false %}{{ article_title | titlecase }}{% else %}{{ article_title }}{% endif %}{% if index or linklog %}</a>{% endif %}
|
4
|
+
{% if linklog and site.linklog_marker and site.linklog_marker_position == 'after' %}{{ linklog_marker }}{% endif %}
|
5
|
+
</h1>
|
@@ -0,0 +1,14 @@
|
|
1
|
+
{% assign linklog = false %}
|
2
|
+
{% assign index = false %}
|
3
|
+
|
4
|
+
{% if page.external-url %}
|
5
|
+
{% capture linklog %}{{ page.external-url }}{% endcapture %}
|
6
|
+
{% elsif post.external-url %}
|
7
|
+
{% capture linklog %}{{ post.external-url }}{% endcapture %}
|
8
|
+
{% endif %}
|
9
|
+
{% if post.url %}{% assign index = true %}{% endif %}
|
10
|
+
{% capture permalink %}{{ root_url }}{% if index %}{{ post.url }}{% else %}{{ page.url }}{% endif %}{% endcapture %}
|
11
|
+
{% capture title_url %}{% if linklog %}{{ linklog }}{% else %}{{ permalink }}{% endif %}{% endcapture %}
|
12
|
+
{% capture article_title %}{% if index %}{% unless linklog %}{{ site.standard_post_marker }}{% endunless %}{{ post.title }}{% else %}{% unless linklog %}{{ site.standard_post_marker }}{% endunless %}{{ page.title }}{% endif %}{% endcapture %}
|
13
|
+
{% capture linklog_marker %}<span class='linklog-marker'>{{ site.linklog_marker }}</span>{% endcapture %}
|
14
|
+
{% capture content %}{% if index %}{% capture excerpted %}{{ post.content | has_excerpt }}{% endcapture %}{% if excerpted != 'false' %}{{ post.content | excerpt }}{% else %}{{ post.content }}{% endif %}{% else %}{{ content }}{% endif %}{% endcapture %}
|
@@ -0,0 +1,8 @@
|
|
1
|
+
{% if site.delicious_user %}
|
2
|
+
<section>
|
3
|
+
<h1>On Delicious</h1>
|
4
|
+
<div id="delicious"></div>
|
5
|
+
<script type="text/javascript" src="http://feeds.delicious.com/v2/json/{{ site.delicious_user }}?count={{ site.delicious_count }}&sort=date&callback=octopress.renderDeliciousLinks"></script>
|
6
|
+
<p><a href="http://delicious.com/{{ site.delicious_user }}">My Delicious Bookmarks »</a></p>
|
7
|
+
</section>
|
8
|
+
{% endif %}
|
@@ -0,0 +1,9 @@
|
|
1
|
+
{% if site.github_user and site.github_repo_count > 0 %}
|
2
|
+
<section>
|
3
|
+
<h1>On GitHub</h1>
|
4
|
+
<div id="gh_repos" data-user="{{site.github_user}}" data-count="{{site.github_repo_count}}" data-skip="{{site.github_skip_forks}}" data-repos="{{site.github_repos | join:, }}"></div>
|
5
|
+
{% if site.github_show_profile_link %}
|
6
|
+
<a class="github-follow" href="https://github.com/{{site.github_user}}">Follow @{{site.github_user}}</a>
|
7
|
+
{% endif %}
|
8
|
+
</section>
|
9
|
+
{% endif %}
|