Permalink
Browse files

fix style and add comment

  • Loading branch information...
sunfmin committed Mar 20, 2013
1 parent c1f8b8b commit 91826b7a1197136c94f03306824abfe05eeae9d2
View
@@ -6,4 +6,22 @@
<h1>{{page.title }}</h1>
<em>{{ page.date | date_to_string }}</em>
{{ content }}
+
+{{if page.gplus != '' }}
+<div class="comments"><a href="{{page.gplus}}"> leave a comment</a></div>
+{{ end }}
+
+<!-- Place this tag where you want the +1 button to render. -->
+<div class="g-plusone" data-size="small" data-annotation="inline" data-width="450"></div>
+
+<!-- Place this tag after the last +1 button tag. -->
+<script type="text/javascript">
+ (function() {
+ var po = document.createElement('script'); po.type = 'text/javascript'; po.async = true;
+ po.src = 'https://apis.google.com/js/plusone.js';
+ var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(po, s);
+ })();
+</script>
+
+
</div>
@@ -1,6 +1,7 @@
---
layout: post
title: Install ImageMagick without X11
+tags: watchout
---
sudo port install ImageMagick +no_x11
@@ -1,6 +1,7 @@
---
layout: post
title: Linux Process States, processes which stuck into state D
+tags: watchout
---
Here are the different values that the s, stat and state output specifiers
@@ -1,6 +1,8 @@
---
layout: post
title: Open closed company network with ssh out through http proxy
+tags: main
+gplus: https://plus.google.com/109226469261450457142/posts/VRo52YWhM46
---
### The problem
@@ -1,6 +1,7 @@
---
layout: post
title: NSKeyedUnarchiver decodeObjectForKey cannot decode object of class
+tags: watchout
---
Because I didn't add QTKit.framework to the project, I got the error:
@@ -1,6 +1,7 @@
---
layout: post
title: Use popover step by step
+tags: main
---
## Correct Steps
@@ -1,6 +1,7 @@
---
layout: post
title: Jekyll no access permission to `/'
+tags: watchout
---
When I start jekyll with:
@@ -1,6 +1,8 @@
---
layout: post
title: Best employee time tracking Mac app
+tags: main
+gplus: https://plus.google.com/109226469261450457142/posts/47qH5x8Y39d
---
Timestamp app is simple and very easy to use app for you to track your time when you are at office or at home, It's a Mac OS X application that depends on Your Apple iCal and Local WIFI network. which is availible by default with any Mac OS X system, It make the time tracking really easy and It needs almost zero user involvement only install the software, Whenever your computer joined your local company WIFI network, It will start an event on Apple iCal and marking the start time, When your computer left the local WIFI network, It will mark the event finish time.
View
@@ -21,6 +21,29 @@ body h1 {
margin-bottom: 60px;
}
-.site > ol li em {
+body .site em.date {
color: gray;
+ font-family: monospace;
}
+
+.site .comments {
+ margin-top: 40px;
+ padding-top: 20px;
+ border-top: 1px solid #eee;
+}
+
+.site .watchout {
+ margin-top: 40px;
+ color: gray;
+}
+
+a:hover {
+ color: #005580;
+ text-decoration: underline;
+}
+
+a {
+ color: #08c;
+ text-decoration: none;
+}
+
View
@@ -5,8 +5,16 @@
<h1> input, process, output </h1>
<ol>
-{% for post in site.posts %}
- <li><em>{{ post.date | date_to_string }}</em> &raquo; <a href="{{ post.url }}">{{ post.title }}</a> </li>
+{% for post in site.tags.main %}
+ <li><em class="date">{{ post.date | date_to_string }}</em> &raquo; <a href="{{ post.url }}">{{ post.title }}</a> </li>
{% endfor %}
</ol>
+<h2 class="watchout"> watch out and tips </h2>
+<ol>
+{% for post in site.tags.watchout %}
+ <li><em class="date">{{ post.date | date_to_string }}</em> &raquo; <a href="{{ post.url }}">{{ post.title }}</a> </li>
+{% endfor %}
+</ol>
+
+

0 comments on commit 91826b7

Please sign in to comment.