Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

lalala testing

  • Loading branch information...
commit c4933869890b2c4b8997ca663ba37e646df7dcf8 1 parent 5de9679
Roman Komarov authored March 25, 2013
3  .gitmodules
... ...
@@ -1,3 +1,6 @@
1 1
 [submodule "_includes/lib"]
2 2
 	path = _includes/lib
3 3
 	url = git://github.com/kizu/testing-jekyll.git
  4
+[submodule "_includes/tenkan"]
  5
+	path = _includes/tenkan
  6
+	url = git://github.com/kizu/tenkan.git
1  _includes/tenkan
... ...
@@ -0,0 +1 @@
  1
+Subproject commit 97cdb4cb2063a3f7bb5a3d5a54e276aff83df978
25  _layouts/default.html
... ...
@@ -1,12 +1,29 @@
1  
-<!DOCTYPE HTML>
  1
+<!DOCTYPE HTML>{% capture tenkan_cache %}{% include tenkan/setup.md %}{% endcapture %}
2 2
 <html lang="en">
3 3
 <head>
4  
-    <title>{% include lib/foo.html %}</title>
  4
+    <title>{{ processed_title }}</title>
5 5
     <meta charset="utf-8">
6 6
 </head>
7 7
 <body>
8  
-    <h1>{{ page.title }}</h1>
  8
+    <h1>{{ processed_title }}</h1>
  9
+
  10
+    {{ processed_content }}
  11
+
  12
+    {% capture tenkan_cache %}
  13
+        {% assign indexof_input = processed_content %}
  14
+        {% assign indexof_substr = "world" %}
  15
+        {% include tenkan/indexof.md %}
  16
+    {% endcapture %}
  17
+
  18
+    {% capture tenkan_cache %}
  19
+        {% assign substr_input = processed_content %}
  20
+        {% assign substr_index = indexof_result %}
  21
+        {% assign substr_length = 3 %}
  22
+        {% include tenkan/substr.md %}
  23
+    {% endcapture %}
  24
+
  25
+    <b>{{ substr_result }}</b>
  26
+
9 27
 
10  
-    {{ content }}
11 28
 </body>
12 29
 </html>
7  _posts/2013-03-07-ololo.html
... ...
@@ -0,0 +1,7 @@
  1
+---
  2
+title: ololo lolo
  3
+layout: default
  4
+permalink: /portfolio/index.html
  5
+---
  6
+
  7
+pysh pysh s
7  _posts/2013-03-07-ololo2.html
... ...
@@ -0,0 +1,7 @@
  1
+---
  2
+title: ololo lolo 2
  3
+layout: default
  4
+permalink: /portfolio/index.html
  5
+---
  6
+
  7
+pysh pysh s
7  _posts/2013-03-07-ololo3.html
... ...
@@ -0,0 +1,7 @@
  1
+---
  2
+title: ololo lolo 3
  3
+layout: default
  4
+permalink: /portfolio/index.html
  5
+---
  6
+
  7
+pysh pysh s
16  _site/index.html
... ...
@@ -1,14 +1,22 @@
1 1
 <!DOCTYPE HTML>
2 2
 <html lang="en">
3 3
 <head>
4  
-    <title>ororororo rorororo
5  
-</title>
  4
+    <title>Ololo lolo</title>
6 5
     <meta charset="utf-8">
7 6
 </head>
8 7
 <body>
9  
-    <h1>ololo lolo</h1>
  8
+    <h1>Ololo lolo</h1>
  9
+
  10
+    
  11
+
  12
+<p>Hello world</p>
  13
+
  14
+    
  15
+
  16
+    
  17
+
  18
+    <b>wor</b>
10 19
 
11  
-    Hello world
12 20
 
13 21
 </body>
14 22
 </html>
23  _site/portfolio/index.html
... ...
@@ -0,0 +1,23 @@
  1
+<!DOCTYPE HTML>
  2
+<html lang="en">
  3
+<head>
  4
+    <title>ololo loloasdf</title>
  5
+    <meta charset="utf-8">
  6
+</head>
  7
+<body>
  8
+    <h1>ololo loloasdf</h1>
  9
+
  10
+    {% for post in site.posts %}
  11
+{{ post.title }}<br/>
  12
+{% endfor %}
  13
+
  14
+
  15
+    
  16
+
  17
+    
  18
+
  19
+    <b></b>
  20
+
  21
+
  22
+</body>
  23
+</html>
3  index.html → index.md
Source Rendered
... ...
@@ -1,6 +1,7 @@
1 1
 ---
2  
-title: ololo lolo
3 2
 layout: default
4 3
 ---
5 4
 
  5
+# Ololo lolo
  6
+
6 7
 Hello world
8  portfolio/index.html
... ...
@@ -0,0 +1,8 @@
  1
+---
  2
+title: ololo loloasdf
  3
+layout: default
  4
+---
  5
+
  6
+{% for post in site.posts %}
  7
+{{ post.title }}<br/>
  8
+{% endfor %}

0 notes on commit c493386

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