Permalink
Browse files

change layout

  • Loading branch information...
1 parent 096c9ba commit d1b0f7c7d43161c9a2a124970737a53236b2e4fd laknock committed Sep 28, 2012
Showing with 5,093 additions and 411 deletions.
  1. +3 −3 _config.yml
  2. +80 −0 _includes/themes/the-program/default.html
  3. +28 −0 _includes/themes/the-program/page.html
  4. +71 −0 _includes/themes/the-program/post.html
  5. +2 −0 _includes/themes/the-program/settings.yml
  6. +2 −3 _includes/themes/twitter/default.html
  7. +2 −2 _includes/themes/twitter/page.html
  8. +1 −1 _includes/themes/twitter/post.html
  9. +5 −56 _site/2012/09/06/solved-failed-to-install-native-gem-with-bundle/index.html
  10. +5 −56 _site/archive.html
  11. +1,484 −0 _site/assets/themes/the-program/css/style.css
  12. +313 −0 _site/assets/themes/the-program/css/style.less
  13. BIN _site/assets/themes/the-program/font/UbuntuMono-B-webfont.eot
  14. +231 −0 _site/assets/themes/the-program/font/UbuntuMono-B-webfont.svg
  15. BIN _site/assets/themes/the-program/font/UbuntuMono-B-webfont.ttf
  16. BIN _site/assets/themes/the-program/font/UbuntuMono-B-webfont.woff
  17. BIN _site/assets/themes/the-program/skin/100-90-5-monochrome.png
  18. +4 −0 _site/assets/themes/twitter/css/style.css
  19. +2 −2 _site/atom.xml
  20. +5 −56 _site/categories.html
  21. +67 −118 _site/index.html
  22. +6 −57 _site/pages.html
  23. +5 −56 _site/tags.html
  24. +153 −0 assets/themes/the-program/css/_base.less
  25. +53 −0 assets/themes/the-program/css/_helper.less
  26. +197 −0 assets/themes/the-program/css/_less-base.less
  27. +235 −0 assets/themes/the-program/css/_mediaqueries.less
  28. +38 −0 assets/themes/the-program/css/_module.less
  29. +68 −0 assets/themes/the-program/css/_syntaxhighlighter.less
  30. +1,484 −0 assets/themes/the-program/css/style.css
  31. +313 −0 assets/themes/the-program/css/style.less
  32. BIN assets/themes/the-program/font/UbuntuMono-B-webfont.eot
  33. +231 −0 assets/themes/the-program/font/UbuntuMono-B-webfont.svg
  34. BIN assets/themes/the-program/font/UbuntuMono-B-webfont.ttf
  35. BIN assets/themes/the-program/font/UbuntuMono-B-webfont.woff
  36. BIN assets/themes/the-program/skin/100-90-5-monochrome.png
  37. +4 −0 assets/themes/twitter/css/style.css
  38. +1 −1 index.md
View
@@ -9,14 +9,14 @@ pygments: true
# Themes are encouraged to use these universal variables
# so be sure to set them if your theme uses them.
#
-title : Laknock's Blog
-tagline: Ruby PhoneGap ジャパンカルチャー
+title : laknock
+tagline: Ruby JavaScript C#
author :
name : Roy Chen
email : code.roy@gmail.com
github : laknock
twitter : laknock
- feedburner : feedname
+ feedburner :
# The production_url is only used when full-domain names are needed
# such as sitemap.txt
@@ -0,0 +1,80 @@
+<!DOCTYPE html>
+<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7 ie" lang="en"> <![endif]-->
+<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8 ie" lang="en"> <![endif]-->
+<!--[if IE 8]> <html class="no-js lt-ie9 ie" lang="en"> <![endif]-->
+<!--[if gt IE 8]><!--> <html class="no-js" lang="en"> <!--<![endif]-->
+<head>
+ <meta charset="utf-8">
+ <meta name="viewport" content="width=device-width,initial-scale=1">
+ <title>{{ page.title }}</title>
+ <meta name="author" content="{{ site.author.name }}">
+ <link href='{{ ASSET_PATH }}/css/style.css' rel="stylesheet" media="all">
+ <link href="http://feeds.feedburner.com/{{ site.author.feedbaname }}" rel="alternate" title="{{ page.title }}" type="application/atom+xml">
+ <script src="http://cdnjs.cloudflare.com/ajax/libs/modernizr/2.0.6/modernizr.min.js"></script>
+</head>
+<body>
+
+<div id="page" class="hentry">
+ <header class="the-header">
+ <div class="unit-head">
+ <div class="unit-inner unit-head-inner">
+ <nav class="nav-global">
+ <ul>
+ <li class="logo"><a href="/">{{ site.title }}</a></li>
+ <li class="archive"><a href="/archive.html">archive</a></li>
+ <li class="page"><a href="/pages.html">pages</a></li>
+ <li class="category"><a href="/categories.html">categories</a></li>
+ <li class="tag"><a href="/tags.html">tags</a></li>
+ </ul>
+ </nav>
+ </div><!-- unit-inner -->
+ </div><!-- unit-head -->
+ </header>
+ <div class="body" role="main">
+ <div class="unit-body">
+ <div class="unit-inner unit-body-inner">
+ <div class="entry-content">
+ {{ content }}
+ </div>
+ </div><!-- unit-inner -->
+ </div><!-- unit-body -->
+ </div><!-- body -->
+ <footer class="the-footer">
+ <div class="unit-foot">
+ <div class="unit-inner unit-foot-inner">
+ <div class="misc vcard">
+ <h4>about</h4>
+ <ul>
+ <li class="github"><a href="http://github.com/{{ site.author.github }}/" rel="me">github.com/{{ site.author.github }}</a></li>
+ <li class="twitter"><a href="http://twitter.com/{{ site.author.twitter }}/" rel="me">twitter.com/{{ site.author.twitter }}</a></li>
+ <li class="rss"><a href="http://feeds.feedburner.com/{{ site.author.feedname }}">Subscribe to RSS Feed</a></li>
+ </ul>
+ </div><!-- misc -->
+ <p class="licence">
+ Theme: <a href="http://layouts-the.me">the_minimum</a> based on <a href="http://jekyllbootstrap.com/">Jekyll-bootstrap</a>.<br>
+ Powered by <a href="https://github.com/mojombo/jekyll">Jekyll</a>.
+ </p>
+ </div><!-- unit-foot-inner -->
+ </div><!-- unit-foot -->
+ </footer>
+</div><!-- page -->
+<script>
+ (function(d, s) {
+ var js, fjs = d.getElementsByTagName(s)[0], load = function(url, id) {
+ if (d.getElementById(id)) {return;}
+ js = d.createElement(s); js.src = url; js.id = id;
+ fjs.parentNode.insertBefore(js, fjs);
+ };
+ load('//platform.twitter.com/widgets.js', 'tweetjs');
+ // load('https://apis.google.com/js/plusone.js', 'gplus1js'); // Checkout http://j.mp/ApDgMr for usage html for this is <div class="g-plusone" data-size="medium"></div>
+ // load('//connect.facebook.net/en_US/all.js#xfbml=1', 'fbjssdk'); // Checkout http://j.mp/wZw2xR for using open graph protorol html for this is <div class="fb-like" data-href="{{ page.url }}" data-send="false" data-layout="button_count" data-width="450" data-show-faces="false" data-font="verdana"></div>
+ }(document, 'script'));
+</script>
+<script>
+/*! A fix for the iOS orientationchange zoom bug.Script by @scottjehl, rebound by @wilto. MIT License.*/
+(function(j){var i=j.document;if(!i.querySelectorAll){return}var l=i.querySelectorAll("meta[name=viewport]")[0],a=l&&l.getAttribute("content"),h=a+", maximum-scale=1.0",d=a+", maximum-scale=10.0",g=true,c=j.orientation,k=0;if(!l){return}function f(){l.setAttribute("content",d);g=true}function b(){l.setAttribute("content",h);g=false}function e(m){c=Math.abs(j.orientation);k=Math.abs(m.gamma);if(k>8&&c===0){if(g){b()}}else{if(!g){f()}}}j.addEventListener("orientationchange",f,false);j.addEventListener("deviceorientation",e,false)})(this);
+</script>
+
+ {% include JB/analytics %}
+</body>
+</html>
@@ -0,0 +1,28 @@
+<article class="unit-article layout-page">
+ <div class="unit-inner unit-article-inner">
+ <div class="content">
+ <header>
+ <div class="unit-head">
+ <div class="unit-inner unit-head-inner">
+ <h1 class="h2 entry-title">{{ page.title }}</h1>
+ </div><!-- unit-inner -->
+ </div><!-- unit-head -->
+ </header>
+
+ <div class="bd">
+ <div class="entry-content">
+ {{ content }}
+ </div><!-- entry-content -->
+ </div><!-- bd -->
+
+ <footer class="unit-foot">
+ <div class="unit-inner unit-foot-inner">
+ <p class="gotop">
+ <a href="#page">Back to Top</a>
+ </p>
+ </div>
+ </footer>
+
+ </div><!-- content -->
+ </div><!-- unit-inner -->
+</article>
@@ -0,0 +1,71 @@
+<article class="unit-article layout-post">
+ <div class="unit-inner unit-article-inner">
+ <div class="content">
+ <header>
+ <div class="unit-head">
+ <div class="unit-inner unit-head-inner">
+ <h1 class="h2 entry-title">{{ page.title }}</h1>
+ </div><!-- unit-inner -->
+ </div><!-- unit-head -->
+ </header>
+
+ <div class="bd">
+ <div class="entry-content">
+ {{ content }}
+ <div class="meta">
+ <p class="date-publish">
+ Published:
+ <date class="date-pub" title="{{ page.date | date_to_xmlschema }}" datetime="{{ page.date | date_to_xmlschema }}" pubdate>
+ <span class="month"><abbr>{{ page.date | date: '%B' }}</abbr></span>
+ <span class="day">{{ page.date | date: '%d' }}</span>
+ <span class="year">{{ page.date | date: '%Y' }}</span>
+ </date>
+ </p>
+ <ul class="list-category list-linear">
+ <li class="list-head">category: </li>
+ {% assign categories_list = page.categories %}
+ {% include JB/categories_list %}
+ </ul>
+ <ul class="list-tag list-linear">
+ <li class="list-head">tags: </li>
+ {% assign tags_list = page.tags %}
+ {% include JB/tags_list %}
+ </ul>
+ </div><!-- meta -->
+ </div><!-- entry-content -->
+ <div class="misc-content">
+ <div class="social">
+ <ul class="list-linear">
+ <li><div class="twitter-tweet"><a href="https://twitter.com/share" class="twitter-share-button" data-count="horizontal" data-via="{{ site.author.twitter }}" data-lang="en">Tweet</a></div></li>
+ <li><div class="twitter-follow"><a href="https://twitter.com/{{ site.author.twitter }}" class="twitter-follow-button" data-show-count="false" data-lang="en"></a></div></li>
+ </ul>
+ </div>
+ <div class="comment">
+ {% include JB/comments %}
+ </div>
+ </div><!-- misc-content -->
+ </div><!-- bd -->
+ <footer class="unit-foot">
+ <div class="unit-inner unit-foot-inner">
+ <nav class="pagination">
+ <ul>
+ {% if page.previous %}
+ <li class="prev"><a class="internal" rel="prev" href="{{ page.previous.url }}" title="View {{ page.previous.title }}">&laquo; {{ page.previous.title }}</a></li>
+ {% endif %}
+ {% if page.previous and page.next %}
+ <li class="pipe"> | </li>
+ {% endif %}
+ {% if page.next %}
+ <li class="next"><a class="internal" rel="next" href="{{ page.next.url }}" title="View {{ page.next.title }}">{{ page.next.title }} &raquo;</a></li>
+ {% endif %}
+ </ul>
+ </nav>
+ <p class="gotop">
+ <a href="#page">Back to Top</a>
+ </p>
+ </div>
+ </footer>
+
+ </div><!-- content -->
+ </div><!-- unit-inner -->
+</article>
@@ -0,0 +1,2 @@
+theme :
+ name : the-program
@@ -31,9 +31,8 @@
<div class="container">
<a class="brand" href="{{ HOME_PATH }}">{{ site.title }}</a>
<ul class="nav">
- {% assign pages_list = site.pages %}
- {% assign group = 'navigation' %}
- {% include JB/pages_list %}
+ <li class="archive"><a href="/archive.html">archive</a></li>
+ <li class="tag"><a href="/tags.html">tags</a></li>
</ul>
<ul class="sns-bar">
<a href="https://twitter.com/laknock">
@@ -1,6 +1,6 @@
-<div class="page-header">
+<!-- <div class="page-header">
<h1>{{ page.title }} {% if page.tagline %} <small>{{ page.tagline }}</small>{% endif %}</h1>
-</div>
+</div> -->
<div class="row">
<div class="span12">
@@ -3,7 +3,7 @@ <h1>{{ page.title }}</h1>
</div>
<div class="row">
- <div class="span8">
+ <div class="span8 post-content">
{{ content }}
<hr>
<div class="pagination">
@@ -30,61 +30,10 @@
<div class="navbar">
<div class="navbar-inner">
<div class="container">
- <a class="brand" href="/">Laknock's Blog</a>
+ <a class="brand" href="/">laknock</a>
<ul class="nav">
-
-
-
-
-
-
-
-
-
- <li><a href="/categories.html">Categories</a></li>
-
-
-
-
-
-
-
-
-
-
-
- <li><a href="/tags.html">Tags</a></li>
-
-
-
-
-
-
-
- <li><a href="/pages.html">Pages</a></li>
-
-
-
-
-
-
-
- <li><a href="/archive.html">Archive</a></li>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ <li class="archive"><a href="/archive.html">archive</a></li>
+ <li class="tag"><a href="/tags.html">tags</a></li>
</ul>
<ul class="sns-bar">
<a href="https://twitter.com/laknock">
@@ -107,7 +56,7 @@ <h1>Solved: Failed to install native gem with bundle</h1>
</div>
<div class="row">
- <div class="span8">
+ <div class="span8 post-content">
<p>If you are install native gem with bundle or create a new application and got error messages like:</p>
<pre><code>Installing json (1.7.3) with native extensions
Gem::Installer::ExtensionBuildError: ERROR:Failed to build gem native extension.
@@ -150,7 +99,7 @@ <h1>Solved: Failed to install native gem with bundle</h1>
<li class="prev disabled"><a>&larr; Previous</a></li>
- <li><a href="/archive.html">Archive</a></li>
+ <li><a href="">Archive</a></li>
<li class="next disabled"><a>Next &rarr;</a>
View
@@ -30,61 +30,10 @@
<div class="navbar">
<div class="navbar-inner">
<div class="container">
- <a class="brand" href="/">Laknock's Blog</a>
+ <a class="brand" href="/">laknock</a>
<ul class="nav">
-
-
-
-
-
-
-
-
-
- <li><a href="/categories.html">Categories</a></li>
-
-
-
-
-
-
-
-
-
-
-
- <li><a href="/tags.html">Tags</a></li>
-
-
-
-
-
-
-
- <li><a href="/pages.html">Pages</a></li>
-
-
-
-
-
-
-
- <li class="active"><a href="/archive.html" class="active">Archive</a></li>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ <li class="archive"><a href="/archive.html">archive</a></li>
+ <li class="tag"><a href="/tags.html">tags</a></li>
</ul>
<ul class="sns-bar">
<a href="https://twitter.com/laknock">
@@ -102,9 +51,9 @@
<div class="content">
-<div class="page-header">
+<!-- <div class="page-header">
<h1>Archive </h1>
-</div>
+</div> -->
<div class="row">
<div class="span12">
Oops, something went wrong.

0 comments on commit d1b0f7c

Please sign in to comment.