Skip to content
Browse files

Update mustache methods to RuhohSpec v.0.1

  • Loading branch information...
1 parent 3c37d42 commit 3f5b2885f8b36bfac010a760f1a7120fd87f1557 @plusjade plusjade committed Apr 12, 2012
View
5 _pages/about.md
@@ -1,5 +1,6 @@
---
+title : About Me
+description:
+
layout : page
---
-
-## About Me
View
10 _pages/archive.html
@@ -1,11 +1,9 @@
---
+description:
+
layout: page
-title : Archive
-header : Post Archive
-tagline : "hello i am jade"
-group: navigation
---
-{{# _posts.collated }}
+{{# db.posts.collated }}
{{> posts_collate }}
-{{/ _posts.collated }}
+{{/ db.posts.collated }}
View
20 _pages/categories.html
@@ -1,21 +1,27 @@
---
+description:
+
layout: page
-title: Categories
-header: Posts By Category
-group: navigation
---
<ul class="tag_box inline">
-{{# ?to_categories }}
+{{# page.test?to_tags }}
+ {{> tags_list }}
+{{/ page.test?to_tags }}
+</ul>
+
+
+<ul class="tag_box inline">
+{{# categories }}
{{> categories_list }}
-{{/ ?to_categories }}
+{{/ categories }}
</ul>
-{{# ?to_categories }}
+{{# categories }}
<h2>{{ name }} ({{ count }})</h2>
<ul>
{{# posts?to_posts }}
{{> posts_list }}
{{/ posts?to_posts }}
</ul>
-{{/ ?to_categories }}
+{{/ categories }}
View
4 _pages/index.html
@@ -1,12 +1,10 @@
---
title: Home
-description:
+description:
layout : page
---
-<p>meep meep</p>
-adf
<h3>Start</h3>
<p>
Ruhoh is all about the command-line.
View
11 _pages/pages.html
@@ -1,14 +1,11 @@
---
+description:
+
layout: page
-title: Pages
-header: Pages
-group: navigation
---
-<h2>All Pages</h2>
-
<ul>
-{{# ?to_pages }}
+{{# pages }}
{{> pages_list }}
-{{/ ?to_pages }}
+{{/ pages }}
</ul>
View
14 _pages/tags.html
@@ -1,21 +1,19 @@
---
+description:
+
layout: page
-title: Tags
-header: Posts By Tag
-group: navigation
---
-
<ul class="tag_box inline">
-{{# ?to_tags }}
+{{# tags }}
{{> tags_list }}
-{{/ ?to_tags }}
+{{/ tags }}
</ul>
-{{# ?to_tags }}
+{{# tags }}
<h2 id="{{name}}-ref">{{name}}</h2>
{{# posts?to_posts }}
<li><a href="{{url}}">{{title}}</a></li>
{{/ posts?to_posts }}
-{{/ ?to_tags }}
+{{/ tags }}
View
4 _templates/themes/twitter/layouts/default.html
@@ -16,8 +16,8 @@
<![endif]-->
<!-- Le styles -->
- <link href="{{ THEME_PATH }}/bootstrap/css/bootstrap.min.css" rel="stylesheet">
- <link href="{{ THEME_PATH }}/css/style.css?body=1" rel="stylesheet" type="text/css" media="all">
+ <link href="{{ paths.theme }}/bootstrap/css/bootstrap.min.css" rel="stylesheet">
+ <link href="{{ paths.theme }}/css/style.css?body=1" rel="stylesheet" type="text/css" media="all">
<!-- Le fav and touch icons -->
<!-- Update these with your own images

0 comments on commit 3f5b288

Please sign in to comment.
Something went wrong with that request. Please try again.