major refactoring, improved file watching, changed site to public to support rack via pow (http://pow.cx) also implemented the basics of a 320 and up design refresh on the classic theme. This should make it great for mobile reading
This commit is contained in:
parent
e4c2d5790b
commit
c7d5365f81
82 changed files with 963 additions and 14577 deletions
|
@ -1,18 +1,21 @@
|
|||
<header>
|
||||
<h1><a href="{{ page.url }}">{{ page.title }}</a></h1>
|
||||
<p>
|
||||
<time>{{ page.date | ordinalize }}</time>
|
||||
{% if site.author or site.author == page.author %}
|
||||
<span class="byline"><em>by</em> <span class="author">{{ site.author }}</span></span>
|
||||
<span class="byline author vcard">By <span class="fn">{{ site.author }}</span></span>
|
||||
{% elsif page.author %}
|
||||
<span class="byline"><em>by</em> <span class="author">{{ page.author }}</span></span>
|
||||
<span class="byline author vcard">By <span class="fn">{{ page.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>
|
||||
<h1><a href="{{ page.url }}">{{ page.title }}</a></h1>
|
||||
</header>
|
||||
{% if index %}
|
||||
<div class="entry">{{ content | exerpt(content, page.url, 'Continue reading »') | smart_quotes }}</div>
|
||||
{% else %}
|
||||
<div class="entry">{{ content | smart_quotes }}</div>
|
||||
{% endif %}
|
||||
|
||||
{% if page.updated %}<p class="updated"><em>updated</em> <time>{{ page.updated | ordinalize }}</time></p>{% endif %}
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
<h4>On Delicious</h4>
|
||||
<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 »</a></p>
|
||||
|
|
|
@ -1,26 +1,25 @@
|
|||
<head>
|
||||
<meta charset="utf-8">
|
||||
|
||||
<title>{{page.title}} - {{site.title}}</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
|
||||
<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, target-densitydpi=160dpi, 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/mootools-yui-compressed.js" type="text/javascript"></script>
|
||||
<script src="/javascripts/mootools-more-1.3.1.1.js" type="text/javascript"></script>
|
||||
<script src="/javascripts/octopress.js" type="text/javascript"></script>
|
||||
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
|
||||
<meta name="viewport" content="initial-scale=1.0 width=device-width">
|
||||
{% 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 %}
|
||||
<!--<script src="/javascripts/octopress.js" type="text/javascript"></script>-->
|
||||
<script src="javascripts/libs/modernizr-1.7.min.js"></script>
|
||||
<script src="javascripts/libs/ios-viewport-scaling-bug-fix.js"></script>
|
||||
{% if site.google_analytics_tracking_id %}
|
||||
{% include google_analytics.html %}
|
||||
{% endif %}
|
||||
|
|
|
@ -1,10 +1 @@
|
|||
<h1><a href="/">{{ site.title }}</a></h1>
|
||||
{% if site.google_custom_search_id && site.google_custom_search_id %}
|
||||
<div id="search">
|
||||
<form action="http://www.google.com/cse" id="cse-search-box">
|
||||
<input type="hidden" name="cx" value="{{ site.google_custom_search_id }}">
|
||||
<input type="hidden" name="ie" value="UTF-8">
|
||||
<input#q type="text" name="q">
|
||||
</form>
|
||||
</div>
|
||||
{% endif %}
|
||||
|
|
|
@ -1,5 +1,11 @@
|
|||
<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>
|
||||
<li class="subscribe"><a href="/atom.xml">Subscribe</a></li>
|
||||
</ul>
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
<h4>My Pinboard</h4>
|
||||
<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>
|
||||
|
|
|
@ -1,8 +1,10 @@
|
|||
<h4>About Me</h4>
|
||||
<p> Yo everybody! </p>
|
||||
<section>
|
||||
<h1>About Me</h1>
|
||||
<p>Hi, I'm Octopress!</p>
|
||||
</section>
|
||||
{% if site.recent_posts %}
|
||||
<section>
|
||||
<h4>Recent Posts</h4>
|
||||
<h1>Recent Posts</h1>
|
||||
<ul id="recent_posts">
|
||||
{% for post in site.posts limit: site.recent_posts %}
|
||||
<li class="post">
|
||||
|
|
|
@ -1,5 +1,13 @@
|
|||
<h4>On Twitter</h4>
|
||||
<h1>Latest Tweets</h1>
|
||||
<ul id="tweets">
|
||||
Status updating...
|
||||
</ul>
|
||||
<p>Follow <a href="http://twitter.com/#{page.twitter_user}">@{{ site.twitter_user }}</a></p>
|
||||
<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 %}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue