Another massive commit:

1. Major improvements to the responsive styling.
2. Toggleable sidebar
3. Upgraded to modernizr 2.0 which includes Respond.js
4. IE7-9 testing and fixes
5. New theming system which should make forkers happy
6. New rake task for installing Octopress themes
7. Magic
This commit is contained in:
Brandon Mathis 2011-06-07 10:45:01 -04:00
parent 8698a276f9
commit d8b796acb9
68 changed files with 68 additions and 6890 deletions

View file

@ -1,30 +0,0 @@
<header>
{% if index %}
<h1><a href="{{ page.url }}">{{ page.title }}</a></h1>
{% else %}
<h1>{{ page.title }}</h1>
{% endif %}
{% unless page.nometa %}
{% if page.author %}
{% assign author = page.author %}
{% else %}
{% assign author = site.author %}
{% endif %}
<p>
{% if author %}
<span class="byline author vcard">By <span class="fn">{{ author }}</span></span>
{% endif %}
{% if page.date %}
<time datetime="{{ page.date | datetime }}" pubdate>{{ page.date | ordinalize }}</time>
{% endif %}
{% if page.updated %}
<time class="updated" datetime="{{ page.updated | datetime }}" pubdate>Updated {{ page.updated | ordinalize }}</time>
{% endif %}
</p>
{% endunless %}
</header>
{% if index %}
<div class="entry">{{ content | exerpt(content, page.url, 'Continue reading &raquo;') | smart_quotes }}</div>
{% else %}
<div class="entry">{{ content | smart_quotes }}</div>
{% endif %}

View file

@ -1,3 +0,0 @@
<h1>On Delicious</h1>
<script type="text/javascript" src="http://feeds.delicious.com/v2/js/{{ site.delicious_user }}?title=&count={{ site.delicious_count }}&sort=date&extended"></script>
<p><a href="http://delicious.com/{{ site.delicious_user }}">My Delicious Bookmarks &raquo;</a></p>

View file

@ -1,7 +0,0 @@
<script type="text/javascript">
var disqus_url = "{{ site.url }}{{ page.url }}";
</script>
<noscript>
<a href="http://{{ site.disqus_short_name }}.disqus.com/?url=ref">View the discussion thread</a>
</noscript>
<script type="text/javascript" src="http://disqus.com/forums/{{ site.disqus_short_name }}/embed.js"></script>

View file

@ -1,11 +0,0 @@
<p>
Copyright &copy; {{ site.time | date: "%Y" }} - {{ site.author }} -
<span class="credit">Powered by <a href="http://octopress.org">Octopress</a></span>
</p>
{% if site.pinboard_user %}
<script language="javascript" src="/javascripts/pinboard.js"></script>
<script language="javascript">
var linkroll = 'pinboard_linkroll'; //id target for pinboard list
pinboardNS_fetch_script("http://feeds.pinboard.in/json/v1/u:{{ site.pinboard_user }}/?cb=pinboardNS_show_bmarks\&count={{ site.pinboard_count }}");
</script>
{% endif %}

View file

@ -1,12 +0,0 @@
<script src="http://www.google-analytics.com/ga.js" type="text/javascript"></script>
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', '#{page.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';
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(ga);
})();
</script>

View file

@ -1,40 +0,0 @@
<!DOCTYPE html>
<!--[if IEMobile 7 ]><html class="no-js iem7" manifest="default.appcache?v=1"><![endif]-->
<!--[if lt IE 7 ]><html class="no-js ie6" lang="en"><![endif]-->
<!--[if IE 7 ]><html class="no-js ie7" lang="en"><![endif]-->
<!--[if IE 8 ]><html class="no-js ie8" lang="en"><![endif]-->
<!--[if (gte IE 9)|(gt IEMobile 7)|!(IEMobile)|!(IE)]><!--><html class="no-js" manifest="default.appcache?v=1" lang="en"><!--<![endif]-->
<head>
<meta charset="utf-8">
{% if page.title %}
<title>{{site.title}}: {{page.title}}{% if site.author %} - {{ site.author }}{% endif %}</title>
{% else %}
<title>{{site.title}}{% if site.author %} - {{ site.author }}{% endif %}</title>
{% endif %}
<meta name="author" content="{{site.author}}">
{% if page.description %}
<meta name="description" content="{{page.description}}"/>
{% 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">
{% if page.keywords %}
<meta name="keywords" content="{{page.keywords}}"/>
{% endif %}
<link href="/stylesheets/screen.css" media="screen, projection" rel="stylesheet" type="text/css">
<!--<script src="/javascripts/octopress.js" type="text/javascript"></script>-->
<script src="/javascripts/libs/modernizr-1.7.js"></script>
<script src="/javascripts/libs/ios-viewport-scaling-bug-fix.js"></script>
<script src="/javascripts/libs/json2.js"></script>
<script src="/javascripts/libs/jXHR.js"></script>
<script src="/javascripts/libs/ender.js"></script>
<script src="/javascripts/syntax-helper.js"></script>
{% if site.google_analytics_tracking_id %}
{% include google_analytics.html %}
{% endif %}
<link href="/atom.xml" rel="alternate" title="{{site.title}}" type="application/atom+xml"/>
</head>

View file

@ -1 +0,0 @@
<h1><a href="/">{{ site.title }}</a></h1>

View file

@ -1,11 +0,0 @@
<div>
<a href="/atom.xml">Subscribe</a>
<form action="{{ site.simple_search }}" method="get">
<input class="search" type="text" name="q" results="0" placeholder="Search"/>
<input type="hidden" name="q" value="site:{{ site.url | search_url }}" />
</form>
</div>
<ul>
<li><a href="/">Blog</a></li>
<li><a href="/about/">About</a></li>
</ul>

View file

@ -1,3 +0,0 @@
<h1>My Pinboard</h1>
<ul id="pinboard_linkroll">Fetching linkroll...</ul>
<p><a href="http://pinboard.in/u:{{ site.pinboard_user }}">My Pinboard Bookmarks &raquo;</a></p>

View file

@ -1,26 +0,0 @@
<section>
<h1>About Me</h1>
<p>Hi, I'm Octopress!</p>
</section>
{% if page.single and site.recent_posts %}
<section>
<h1>Recent Posts</h1>
<ul id="recent_posts">
{% for post in site.posts limit: site.recent_posts %}
<li class="post">
<a href="{{ post.url }}">{{ post.title }}</a>
</li>
{% endfor %}
</ul>
</section>
{% endif %}
{% if site.twitter_user %}
<section>{% include twitter.html %}</section>
{% endif %}
{% if site.delicious_user %}
<section>{% include delicious.html %}</section>
{% endif %}
{% if site.pinboard_user %}
<section>{% include pinboard.html %}</section>
{% endif %}

View file

@ -1,13 +0,0 @@
<h1>Latest Tweets</h1>
<ul id="tweets">
Status updating...
</ul>
<p>Follow <a href="http://twitter.com/{{site.twitter_user}}">@{{ site.twitter_user }}</a></p>
{% if site.twitter_user %}
<script>
var twitter_user = "{{site.twitter_user}}";
var show_replies = {{site.show_replies}};
var tweet_count = {{site.tweet_count}};
</script>
<script src="/javascripts/twitter.js" type="text/javascript"></script>
{% endif %}