Permalink
Browse files

add jekyll error

  • Loading branch information...
1 parent e9654b2 commit 5f15fa0838e4b28b4b3a30bcfe347bcaf4214383 @sunfmin committed Mar 13, 2013
View
@@ -5,9 +5,31 @@
<meta name="author" content="Felix Sun" />
</head>
<body>
- <div class="content">
- {{content}}
+
+<div class="site">
+ <div class="title">
+ <a href="/">Felix Sun</a>
+ <a class="extra" href="/">home</a>
</div>
+
+ {{content}}
+
+ <div class="footer">
+ <div class="contact">
+ <p>
+ Felix Sun<br />
+ sunfmin@gmail.com
+ </p>
+ </div>
+ <div class="contact">
+ <p>
+ <a href="http://github.com/sunfmin/">github.com/sunfmin</a><br />
+ <a href="http://twitter.com/sunfmin/">twitter.com/sunfmin</a><br />
+ </p>
+ </div>
+ </div>
+</div>
+
<div class="scripts">
<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
View
@@ -1,3 +1,7 @@
+---
+layout: default
+---
+
<div class="main_content">
<h1>{{page.title }}</h1>
<em>{{ page.date | date_to_string }}</em>
@@ -1,6 +1,6 @@
---
layout: post
-title: [NSKeyedUnarchiver decodeObjectForKey:]: cannot decode object of class (QTMovieView)
+title: NSKeyedUnarchiver decodeObjectForKey cannot decode object of class (QTMovieView)
---
Because I didn't add QTKit.framework to the project, I got the error:
@@ -0,0 +1,33 @@
+---
+layout: post
+title: Jekyll no access permission to `/'
+---
+
+When I start jekyll with:
+
+ jekyll --server
+
+And I access the page, it gives me:
+
+ FelixMBPR:sunfmin.github.com sunfmin$ jekyll --server
+ Configuration from /Users/sunfmin/Developments/sunfmin.github.com/_config.yml
+ Auto-regenerating enabled: /Users/sunfmin/Developments/sunfmin.github.com -> /Users/sunfmin/Developments/sunfmin.github.com/_site
+ [2013-03-13 13:49:46] regeneration: 26 files changed
+ [2013-03-13 13:49:47] INFO WEBrick 1.3.1
+ [2013-03-13 13:49:47] INFO ruby 1.9.3 (2012-12-25) [x86_64-darwin12.2.1]
+ [2013-03-13 13:49:47] INFO WEBrick::HTTPServer#start: pid=49222 port=4000
+ [2013-03-13 13:49:48] ERROR no access permission to `/'
+ localhost - - [13/Mar/2013:13:49:48 CST] "GET / HTTP/1.1" 403 283
+
+After searching google, and more frustration, I found: http://sebdah.github.com/blog/2012/10/02/debugging-jekyll/, Which explains I should do this, It gives error explainations, Which is best. secretly hidding error information is the worst thing you can do.
+
+ FelixMBPR:sunfmin.github.com sunfmin$ jekyll --no-auto --server
+ Configuration from /Users/sunfmin/Developments/sunfmin.github.com/_config.yml
+ Building site: /Users/sunfmin/Developments/sunfmin.github.com -> /Users/sunfmin/Developments/sunfmin.github.com/_site
+
+ ERROR: YOUR SITE COULD NOT BE BUILT:
+ ------------------------------------
+ (<unknown>): found unexpected ':' while scanning a plain scalar at line 3 column 9 in /Users/sunfmin/Developments/sunfmin.github.com/_posts/2011-12-14-cannot-decode-object-of-class.md
+
+
+In my case, It is that you can not put `:` and `[]` in your blog title.
View
@@ -6,7 +6,7 @@
<h1> :thoughts => nil </h1>
<ol>
{% for post in site.posts %}
- <li> <a href="{{ post.url }}">{{ post.title }}</a> <em>{{ post.date | date_to_string }}</em> </li>
+ <li><em>{{ post.date | date_to_string }}</em> &raquo; <a href="{{ post.url }}">{{ post.title }}</a> </li>
{% endfor %}
</ol>

0 comments on commit 5f15fa0

Please sign in to comment.