diff options
Diffstat (limited to 'source/_includes')
29 files changed, 0 insertions, 317 deletions
diff --git a/source/_includes/after_footer.html b/source/_includes/after_footer.html deleted file mode 100644 index 08b8e340..00000000 --- a/source/_includes/after_footer.html +++ /dev/null @@ -1,5 +0,0 @@ -{% include disqus.html %} -{% include facebook_like.html %} -{% include google_plus_one.html %} -{% include twitter_sharing.html %} -{% include custom/after_footer.html %} diff --git a/source/_includes/archive_post.html b/source/_includes/archive_post.html deleted file mode 100644 index 210dbbbe..00000000 --- a/source/_includes/archive_post.html +++ /dev/null @@ -1,8 +0,0 @@ -{% capture category %}{{ post.categories | size }}{% endcapture %} -<h1><a href="{{ root_url }}{{ post.url }}">{% if site.titlecase %}{{ post.title | titlecase }}{% else %}{{ post.title }}{% endif %}</a></h1> -<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> -{% if category != '0' %} -<footer> - <span class="categories">posted in {{ post.categories | category_links }}</span> -</footer> -{% endif %} diff --git a/source/_includes/article.html b/source/_includes/article.html deleted file mode 100644 index 84279977..00000000 --- a/source/_includes/article.html +++ /dev/null @@ -1,29 +0,0 @@ -{% unless page.no_header %} - <header> - {% if index %} - <h1 class="entry-title"><a href="{{ root_url }}{{ post.url }}">{% if site.titlecase %}{{ post.title | titlecase }}{% else %}{{ post.title }}{% endif %}</a></h1> - {% else %} - <h1 class="entry-title">{% if site.titlecase %}{{ page.title | titlecase }}{% else %}{{ page.title }}{% endif %}</h1> - {% endif %} - {% unless page.meta == false %} - <p class="meta"> - {% include post/date.html %}{{ time }} - {% if site.disqus_short_name and page.comments != false and post.comments != false and site.disqus_show_comment_count == true %} - | <a href="{% if index %}{{ root_url }}{{ post.url }}{% endif %}#disqus_thread" - data-disqus-identifier="{% if post.meta.disqus_id %}{{ post.meta.disqus_id }}{% else %}{{ site.url }}{{ post.url }}{% endif %}">Comments</a> - {% endif %} - </p> - {% endunless %} - </header> -{% endunless %} -{% if index %} - <div class="entry-content">{{ content | excerpt }}</div> - {% capture excerpted %}{{ content | has_excerpt }}{% endcapture %} - {% if excerpted == 'true' %} - <footer> - <a rel="full-article" href="{{ root_url }}{{ post.url }}">{{ site.excerpt_link }}</a> - </footer> - {% endif %} -{% else %} -<div class="entry-content">{{ content }}</div> -{% endif %} diff --git a/source/_includes/asides/delicious.html b/source/_includes/asides/delicious.html deleted file mode 100644 index 115cdcbc..00000000 --- a/source/_includes/asides/delicious.html +++ /dev/null @@ -1,8 +0,0 @@ -{% if site.delicious_user %} -<section> - <h1>On Delicious</h1> - <div id="delicious"></div> - <script type="text/javascript" src="http://feeds.delicious.com/v2/json/{{ site.delicious_user }}?count={{ site.delicious_count }}&sort=date&callback=renderDeliciousLinks"></script> - <p><a href="http://delicious.com/{{ site.delicious_user }}">My Delicious Bookmarks »</a></p> -</section> -{% endif %}
\ No newline at end of file diff --git a/source/_includes/asides/github.html b/source/_includes/asides/github.html deleted file mode 100644 index b0bf9596..00000000 --- a/source/_includes/asides/github.html +++ /dev/null @@ -1,30 +0,0 @@ -{% if site.github_user %} -<section> - <h1>GitHub Repos</h1> - <ul id="gh_repos"> - <li class="loading">Status updating...</li> - </ul> - {% if site.github_show_profile_link %} - <a href="https://github.com/{{site.github_user}}">@{{site.github_user}}</a> on GitHub - {% endif %} - <script type="text/javascript"> - $(document).ready(function(){ - if (!window.jXHR){ - var jxhr = document.createElement('script'); - jxhr.type = 'text/javascript'; - jxhr.src = '{{ root_url}}/javascripts/libs/jXHR.js'; - var s = document.getElementsByTagName('script')[0]; - s.parentNode.insertBefore(jxhr, s); - } - - github.showRepos({ - user: '{{site.github_user}}', - count: {{site.github_repo_count}}, - skip_forks: {{site.github_skip_forks}}, - target: '#gh_repos' - }); - }); - </script> - <script src="{{ root_url }}/javascripts/github.js" type="text/javascript"> </script> -</section> -{% endif %} diff --git a/source/_includes/asides/googleplus.html b/source/_includes/asides/googleplus.html deleted file mode 100644 index 00a0aa85..00000000 --- a/source/_includes/asides/googleplus.html +++ /dev/null @@ -1,11 +0,0 @@ -{% if site.googleplus_user %} -<section class="googleplus{% if site.googleplus_hidden %} googleplus-hidden{% endif %}"> - <h1> - <a href="https://plus.google.com/{{ site.googleplus_user }}?rel=author"> - <img src="http://www.google.com/images/icons/ui/gprofile_button-32.png" width="32" height="32"> - Google+ - </a> - </h1> -</section> -{% endif %} - diff --git a/source/_includes/asides/pinboard.html b/source/_includes/asides/pinboard.html deleted file mode 100644 index c89c3e7b..00000000 --- a/source/_includes/asides/pinboard.html +++ /dev/null @@ -1,19 +0,0 @@ -{% if site.pinboard_user %} -<section> - <h1>My Pinboard</h1> - <ul id="pinboard_linkroll">Fetching linkroll...</ul> - <p><a href="http://pinboard.in/u:{{ site.pinboard_user }}">My Pinboard Bookmarks »</a></p> -</section> -<script type="text/javascript"> - var linkroll = 'pinboard_linkroll'; //id target for pinboard list - var pinboard_user = "{{ site.pinboard_user }}"; //id target for pinboard list - var pinboard_count = {{ site.pinboard_count }}; //id target for pinboard list - (function(){ - var pinboardInit = document.createElement('script'); - pinboardInit.type = 'text/javascript'; - pinboardInit.async = true; - pinboardInit.src = '{{ root_url }}/javascripts/pinboard.js'; - document.getElementsByTagName('head')[0].appendChild(pinboardInit); - })(); -</script> -{% endif %} diff --git a/source/_includes/asides/recent_posts.html b/source/_includes/asides/recent_posts.html deleted file mode 100644 index 4b108474..00000000 --- a/source/_includes/asides/recent_posts.html +++ /dev/null @@ -1,10 +0,0 @@ -<section> - <h1>Recent Posts</h1> - <ul id="recent_posts"> - {% for post in site.posts limit: site.recent_posts %} - <li class="post"> - <a href="{{ root_url }}{{ post.url }}">{% if site.titlecase %}{{ post.title | titlecase }}{% else %}{{ post.title }}{% endif %}</a> - </li> - {% endfor %} - </ul> -</section> diff --git a/source/_includes/custom/after_footer.html b/source/_includes/custom/after_footer.html deleted file mode 100644 index bce25dd9..00000000 --- a/source/_includes/custom/after_footer.html +++ /dev/null @@ -1,3 +0,0 @@ -{% comment %} - Add content to be output at the bottom of each page. (You might use this for analytics scripts, for example) -{% endcomment %} diff --git a/source/_includes/custom/asides/about.html b/source/_includes/custom/asides/about.html deleted file mode 100644 index 59d309e4..00000000 --- a/source/_includes/custom/asides/about.html +++ /dev/null @@ -1,4 +0,0 @@ -<section> - <h1>About Me</h1> - <p>A little something about me.</p> -</section> diff --git a/source/_includes/custom/category_feed.xml b/source/_includes/custom/category_feed.xml deleted file mode 100644 index 8c93ed39..00000000 --- a/source/_includes/custom/category_feed.xml +++ /dev/null @@ -1,27 +0,0 @@ ---- -layout: null ---- -<?xml version="1.0" encoding="utf-8"?> -<feed xmlns="http://www.w3.org/2005/Atom"> - - <title><![CDATA[{% if site.titlecase %}{{ page.title | titlecase | cdata_escape }}{% else %}{{ page.title | cdata_escape }}{% endif %} | {{ site.title | cdata_escape }}]]></title> - <link href="{{ site.url }}/{{ page.feed_url }}" rel="self"/> - <link href="{{ site.url }}/"/> - <updated>{{ site.time | date_to_xmlschema }}</updated> - <id>{{ site.url }}/</id> - <author> - <name><![CDATA[{{ site.author | strip_html }}]]></name> - {% if site.email %}<email><![CDATA[{{ site.email }}]]></email>{% endif %} - </author> - <generator uri="http://octopress.org/">Octopress</generator> - - {% for post in site.categories[page.category] limit: 5 %} - <entry> - <title type="html"><![CDATA[{% if site.titlecase %}{{ post.title | titlecase | cdata_escape }}{% else %}{{ post.title | cdata_escape }}{% endif %}]]></title> - <link href="{{ site.url }}{{ post.url }}"/> - <updated>{{ post.date | date_to_xmlschema }}</updated> - <id>{{ site.url }}{{ post.id }}</id> - <content type="html"><![CDATA[{{ post.content | expand_urls: site.url | markdownify | cdata_escape }}]]></content> - </entry> - {% endfor %} -</feed> diff --git a/source/_includes/custom/footer.html b/source/_includes/custom/footer.html deleted file mode 100644 index e12f0678..00000000 --- a/source/_includes/custom/footer.html +++ /dev/null @@ -1,4 +0,0 @@ -<p> - Copyright © {{ site.time | date: "%Y" }} - {{ site.author }} - - <span class="credit">Powered by <a href="http://octopress.org">Octopress</a></span> -</p> diff --git a/source/_includes/custom/head.html b/source/_includes/custom/head.html deleted file mode 100644 index 824a41e7..00000000 --- a/source/_includes/custom/head.html +++ /dev/null @@ -1,3 +0,0 @@ -<!--Fonts from Google"s Web font directory at http://google.com/webfonts --> -<link href="//fonts.googleapis.com/css?family=PT+Serif:regular,italic,bold,bolditalic" rel="stylesheet" type="text/css"> -<link href="//fonts.googleapis.com/css?family=PT+Sans:regular,italic,bold,bolditalic" rel="stylesheet" type="text/css"> diff --git a/source/_includes/custom/header.html b/source/_includes/custom/header.html deleted file mode 100644 index 35f9c059..00000000 --- a/source/_includes/custom/header.html +++ /dev/null @@ -1,6 +0,0 @@ -<hgroup> - <h1><a href="{{ root_url }}/">{{ site.title }}</a></h1> - {% if site.subtitle %} - <h2>{{ site.subtitle }}</h2> - {% endif %} -</hgroup> diff --git a/source/_includes/custom/navigation.html b/source/_includes/custom/navigation.html deleted file mode 100644 index d6bd4246..00000000 --- a/source/_includes/custom/navigation.html +++ /dev/null @@ -1,4 +0,0 @@ -<ul class="main-navigation"> - <li><a href="{{ root_url }}/">Blog</a></li> - <li><a href="{{ root_url }}/blog/archives">Archives</a></li> -</ul> diff --git a/source/_includes/disqus.html b/source/_includes/disqus.html deleted file mode 100644 index 49c6a29c..00000000 --- a/source/_includes/disqus.html +++ /dev/null @@ -1,21 +0,0 @@ -{% comment %} Load script if disquss comments are enabled and `page.comments` is either empty (index) or set to true {% endcomment %} -{% if site.disqus_short_name and page.comments != false %} -<script type="text/javascript"> - var disqus_shortname = '{{ site.disqus_short_name }}'; - {% if page.comments == true %} - {% comment %} `page.comments` can be only be set to true on pages/posts, so we embed the comments here. {% endcomment %} - // var disqus_developer = 1; - var disqus_identifier = '{{ site.url }}{{ page.url }}'; - var disqus_url = '{{ site.url }}{{ page.url }}'; - var disqus_script = 'embed.js'; - {% else %} - {% comment %} As `page.comments` is empty, we must be on the index page. {% endcomment %} - var disqus_script = 'count.js'; - {% endif %} - (function () { - var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true; - dsq.src = '//' + disqus_shortname + '.disqus.com/' + disqus_script; - (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq); - }()); -</script> -{% endif %} diff --git a/source/_includes/facebook_like.html b/source/_includes/facebook_like.html deleted file mode 100644 index d263e6d2..00000000 --- a/source/_includes/facebook_like.html +++ /dev/null @@ -1,10 +0,0 @@ -{% if site.facebook_like %} -<div id="fb-root"></div> -<script>(function(d, s, id) { - var js, fjs = d.getElementsByTagName(s)[0]; - if (d.getElementById(id)) {return;} - js = d.createElement(s); js.id = id; js.async = true; - js.src = "//connect.facebook.net/en_US/all.js#appId=212934732101925&xfbml=1"; - fjs.parentNode.insertBefore(js, fjs); -}(document, 'script', 'facebook-jssdk'));</script> -{% endif %} diff --git a/source/_includes/footer.html b/source/_includes/footer.html deleted file mode 100644 index 3a8c7687..00000000 --- a/source/_includes/footer.html +++ /dev/null @@ -1 +0,0 @@ -{% include custom/footer.html %} diff --git a/source/_includes/google_analytics.html b/source/_includes/google_analytics.html deleted file mode 100644 index 4d4d5969..00000000 --- a/source/_includes/google_analytics.html +++ /dev/null @@ -1,13 +0,0 @@ -{% if site.google_analytics_tracking_id %} - <script type="text/javascript"> - var _gaq = _gaq || []; - _gaq.push(['_setAccount', '{{ site.google_analytics_tracking_id }}']); - _gaq.push(['_trackPageview']); - - (function() { - var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; - ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; - var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); - })(); - </script> -{% endif %} diff --git a/source/_includes/google_plus_one.html b/source/_includes/google_plus_one.html deleted file mode 100644 index b69ddaeb..00000000 --- a/source/_includes/google_plus_one.html +++ /dev/null @@ -1,9 +0,0 @@ -{% if site.google_plus_one %} - <script type="text/javascript"> - (function() { - var script = document.createElement('script'); script.type = 'text/javascript'; script.async = true; - script.src = 'https://apis.google.com/js/plusone.js'; - var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(script, s); - })(); - </script> -{% endif %} diff --git a/source/_includes/head.html b/source/_includes/head.html deleted file mode 100644 index 6b5412ca..00000000 --- a/source/_includes/head.html +++ /dev/null @@ -1,30 +0,0 @@ -<!DOCTYPE html> -<!--[if IEMobile 7 ]><html class="no-js iem7"><![endif]--> -<!--[if lt IE 9]><html class="no-js lte-ie8"><![endif]--> -<!--[if (gt IE 8)|(gt IEMobile 7)|!(IEMobile)|!(IE)]><!--><html class="no-js" lang="en"><!--<![endif]--> -<head> - <meta charset="utf-8"> - <title>{% if page.title %}{% if site.titlecase %}{{ page.title | titlecase }}{% else %}{{ page.title }}{% endif %} - {% endif %}{{ site.title }}</title> - <meta name="author" content="{{ site.author }}"> - - {% capture description %}{% if page.description %}{{ page.description }}{% else %}{{ content | raw_content }}{% endif %}{% endcapture %} - <meta name="description" content="{{ description | strip_html | condense_spaces | truncate:150 }}"> - {% if page.keywords %}<meta name="keywords" content="{{ page.keywords }}">{% endif %} - - <!-- http://t.co/dKP3o1e --> - <meta name="HandheldFriendly" content="True"> - <meta name="MobileOptimized" content="320"> - <meta name="viewport" content="width=device-width, initial-scale=1"> - - {% capture canonical %}{{ site.url }}{% if site.permalink contains '.html' %}{{ page.url }}{% else %}{{ page.url | remove:'index.html' | strip_slash }}{% endif %}{% endcapture %} - <link rel="canonical" href="{{ canonical }}"> - <link href="{{ root_url }}/favicon.png" rel="icon"> - <link href="{{ root_url }}/stylesheets/screen.css" media="screen, projection" rel="stylesheet" type="text/css"> - <link href="{{ site.subscribe_rss }}" rel="alternate" title="{{site.title}}" type="application/atom+xml"> - <script src="{{ root_url }}/javascripts/modernizr-2.0.js"></script> - <script src="//ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script> - <script>!window.jQuery && document.write(unescape('%3Cscript src="./javascripts/libs/jquery.min.js"%3E%3C/script%3E'))</script> - <script src="{{ root_url }}/javascripts/octopress.js" type="text/javascript"></script> - {% include custom/head.html %} - {% include google_analytics.html %} -</head> diff --git a/source/_includes/header.html b/source/_includes/header.html deleted file mode 100644 index 524de651..00000000 --- a/source/_includes/header.html +++ /dev/null @@ -1 +0,0 @@ -{% include custom/header.html %} diff --git a/source/_includes/navigation.html b/source/_includes/navigation.html deleted file mode 100644 index 2f0e6280..00000000 --- a/source/_includes/navigation.html +++ /dev/null @@ -1,15 +0,0 @@ -<ul class="subscription" data-subscription="rss{% if site.subscribe_email %} email{% endif %}"> - <li><a href="{{ site.subscribe_rss }}" rel="subscribe-rss" title="subscribe via RSS">RSS</a></li> - {% if site.subscribe_email %} - <li><a href="{{ site.subscribe_email }}" rel="subscribe-email" title="subscribe via email">Email</a></li> - {% endif %} -</ul> - {% if site.simple_search %} -<form action="{{ site.simple_search }}" method="get"> - <fieldset role="search"> - <input type="hidden" name="q" value="site:{{ site.url | shorthand_url }}" /> - <input class="search" type="text" name="q" results="0" placeholder="Search"/> - </fieldset> -</form> - {% endif %} -{% include custom/navigation.html %} diff --git a/source/_includes/post/author.html b/source/_includes/post/author.html deleted file mode 100644 index 83dd6a89..00000000 --- a/source/_includes/post/author.html +++ /dev/null @@ -1,8 +0,0 @@ -{% if post.author %} - {% assign author = post.author %} -{% elsif page.author %} - {% assign author = page.author %} -{% else %} - {% assign author = site.author %} -{% endif %} -{% if author %}<span class="byline author vcard">Posted by <span class="fn">{{ author }}</span></span>{% endif %} diff --git a/source/_includes/post/categories.html b/source/_includes/post/categories.html deleted file mode 100644 index 4a98b29d..00000000 --- a/source/_includes/post/categories.html +++ /dev/null @@ -1,10 +0,0 @@ -{% capture category %}{% if post %}{{ post.categories | category_links | size }}{% else %}{{ page.categories | category_links | size }}{% endif %}{% endcapture %} -{% unless category == '0' %} -<span class="categories"> - {% if post %} - {{ post.categories | category_links }} - {% else %} - {{ page.categories | category_links }} - {% endif %} -</span> -{% endunless %} diff --git a/source/_includes/post/date.html b/source/_includes/post/date.html deleted file mode 100644 index a86953c2..00000000 --- a/source/_includes/post/date.html +++ /dev/null @@ -1,5 +0,0 @@ -{% if page.date %}{% capture time %}{{ page.date_time_html }}{% endcapture %}{% endif %} -{% if post.date %}{% capture time %}{{ post.date_time_html }}{% endcapture %}{% endif %} - -{% if page.updated %}{% capture updated %}{{ page.date_time_updated_html }}{% endcapture %}{% endif %} -{% if post.updated %}{% capture updated %}{{ post.date_time_updated_html }}{% endcapture %}{% endif %} diff --git a/source/_includes/post/disqus_thread.html b/source/_includes/post/disqus_thread.html deleted file mode 100644 index b1acd8cc..00000000 --- a/source/_includes/post/disqus_thread.html +++ /dev/null @@ -1 +0,0 @@ -<noscript>Please enable JavaScript to view the <a href="http://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript> diff --git a/source/_includes/post/sharing.html b/source/_includes/post/sharing.html deleted file mode 100644 index d639faa1..00000000 --- a/source/_includes/post/sharing.html +++ /dev/null @@ -1,11 +0,0 @@ -<div class="sharing"> - {% if site.twitter_tweet_button %} - <a href="//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> - {% endif %} - {% if site.google_plus_one %} - <div class="g-plusone" data-size="{{ site.google_plus_one_size }}"></div> - {% endif %} - {% if site.facebook_like %} - <div class="fb-like" data-send="true" data-width="450" data-show-faces="false"></div> - {% endif %} -</div> diff --git a/source/_includes/twitter_sharing.html b/source/_includes/twitter_sharing.html deleted file mode 100644 index 7cd5fbc2..00000000 --- a/source/_includes/twitter_sharing.html +++ /dev/null @@ -1,11 +0,0 @@ -{% if site.twitter_follow_button or site.twitter_tweet_button %} - <script type="text/javascript"> - (function(){ - var twitterWidgets = document.createElement('script'); - twitterWidgets.type = 'text/javascript'; - twitterWidgets.async = true; - twitterWidgets.src = '//platform.twitter.com/widgets.js'; - document.getElementsByTagName('head')[0].appendChild(twitterWidgets); - })(); - </script> -{% endif %} |