Skip to content

Commit

Permalink
lalala testing
Browse files Browse the repository at this point in the history
  • Loading branch information
kizu committed Mar 24, 2013
1 parent 5de9679 commit c493386
Show file tree
Hide file tree
Showing 10 changed files with 91 additions and 9 deletions.
3 changes: 3 additions & 0 deletions .gitmodules
@@ -1,3 +1,6 @@
[submodule "_includes/lib"] [submodule "_includes/lib"]
path = _includes/lib path = _includes/lib
url = git://github.com/kizu/testing-jekyll.git url = git://github.com/kizu/testing-jekyll.git
[submodule "_includes/tenkan"]
path = _includes/tenkan
url = git://github.com/kizu/tenkan.git
1 change: 1 addition & 0 deletions _includes/tenkan
Submodule tenkan added at 97cdb4
25 changes: 21 additions & 4 deletions _layouts/default.html
@@ -1,12 +1,29 @@
<!DOCTYPE HTML> <!DOCTYPE HTML>{% capture tenkan_cache %}{% include tenkan/setup.md %}{% endcapture %}
<html lang="en"> <html lang="en">
<head> <head>
<title>{% include lib/foo.html %}</title> <title>{{ processed_title }}</title>
<meta charset="utf-8"> <meta charset="utf-8">
</head> </head>
<body> <body>
<h1>{{ page.title }}</h1> <h1>{{ processed_title }}</h1>

{{ processed_content }}

{% capture tenkan_cache %}
{% assign indexof_input = processed_content %}
{% assign indexof_substr = "world" %}
{% include tenkan/indexof.md %}
{% endcapture %}

{% capture tenkan_cache %}
{% assign substr_input = processed_content %}
{% assign substr_index = indexof_result %}
{% assign substr_length = 3 %}
{% include tenkan/substr.md %}
{% endcapture %}

<b>{{ substr_result }}</b>



{{ content }}
</body> </body>
</html> </html>
7 changes: 7 additions & 0 deletions _posts/2013-03-07-ololo.html
@@ -0,0 +1,7 @@
---
title: ololo lolo
layout: default
permalink: /portfolio/index.html
---

pysh pysh s
7 changes: 7 additions & 0 deletions _posts/2013-03-07-ololo2.html
@@ -0,0 +1,7 @@
---
title: ololo lolo 2
layout: default
permalink: /portfolio/index.html
---

pysh pysh s
7 changes: 7 additions & 0 deletions _posts/2013-03-07-ololo3.html
@@ -0,0 +1,7 @@
---
title: ololo lolo 3
layout: default
permalink: /portfolio/index.html
---

pysh pysh s
16 changes: 12 additions & 4 deletions _site/index.html
@@ -1,14 +1,22 @@
<!DOCTYPE HTML> <!DOCTYPE HTML>
<html lang="en"> <html lang="en">
<head> <head>
<title>ororororo rorororo <title>Ololo lolo</title>
</title>
<meta charset="utf-8"> <meta charset="utf-8">
</head> </head>
<body> <body>
<h1>ololo lolo</h1> <h1>Ololo lolo</h1>



<p>Hello world</p>





<b>wor</b>


Hello world


</body> </body>
</html> </html>
23 changes: 23 additions & 0 deletions _site/portfolio/index.html
@@ -0,0 +1,23 @@
<!DOCTYPE HTML>
<html lang="en">
<head>
<title>ololo loloasdf</title>
<meta charset="utf-8">
</head>
<body>
<h1>ololo loloasdf</h1>

{% for post in site.posts %}
{{ post.title }}<br/>
{% endfor %}






<b></b>


</body>
</html>
3 changes: 2 additions & 1 deletion index.html → index.md
@@ -1,6 +1,7 @@
--- ---
title: ololo lolo
layout: default layout: default
--- ---


# Ololo lolo

Hello world Hello world
8 changes: 8 additions & 0 deletions portfolio/index.html
@@ -0,0 +1,8 @@
---
title: ololo loloasdf
layout: default
---

{% for post in site.posts %}
{{ post.title }}<br/>
{% endfor %}

0 comments on commit c493386

Please sign in to comment.