-
Notifications
You must be signed in to change notification settings - Fork 96
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into sort-order
- Loading branch information
Showing
12 changed files
with
160 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<title>test</title> | ||
</head> | ||
<body> | ||
<h1>{{ path }}</h1> | ||
|
||
{{ content }} | ||
</body> | ||
</html> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<title>My blog - {{ title }}</title> | ||
</head> | ||
<body> | ||
{{ content }} | ||
</body> | ||
</html> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
extends: default.liquid | ||
--- | ||
This is my Index page! | ||
|
||
{% for post in posts %} | ||
<a href="{{post.path}}">{{ post.title }}</a> | ||
{% endfor %} |
17 changes: 17 additions & 0 deletions
17
tests/fixtures/previous_next/posts/2014-08-24-my-first-blogpost.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
extends: posts.liquid | ||
|
||
title: My first Blogpost | ||
date: 24/08/2014 at 15:36 | ||
--- | ||
# {{ title }} | ||
|
||
Hey there this is my first blogpost and this is super awesome. | ||
|
||
My Blog is lorem ipsum like, yes it is.. | ||
|
||
{% if previous %} | ||
<a class="prev" href="/{{previous.path}}">« {{previous.title}}</a> | ||
{% endif %} | ||
{% if next %} | ||
<a class="next" href="/{{next.path}}">{{next.title}} »</a> | ||
{% endif %} |
17 changes: 17 additions & 0 deletions
17
tests/fixtures/previous_next/posts/2014-08-25-my-second-blogpost.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
extends: posts.liquid | ||
|
||
title: My second Blogpost | ||
date: 25/08/2014 at 15:36 | ||
--- | ||
# {{ title }} | ||
|
||
Hey there this is my second blogpost and this is super awesome. | ||
|
||
My Blog is lorem ipsum like, yes it is.. | ||
|
||
{% if previous %} | ||
<a class="prev" href="/{{previous.path}}">« {{previous.title}}</a> | ||
{% endif %} | ||
{% if next %} | ||
<a class="next" href="/{{next.path}}">{{next.title}} »</a> | ||
{% endif %} |
17 changes: 17 additions & 0 deletions
17
tests/fixtures/previous_next/posts/2014-08-26-my-third-blogpost.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
extends: posts.liquid | ||
|
||
title: My third Blogpost | ||
date: 26/08/2014 at 15:36 | ||
--- | ||
# {{ title }} | ||
|
||
Hey there this is my third blogpost and this is super awesome. | ||
|
||
My Blog is lorem ipsum like, yes it is.. | ||
|
||
{% if previous %} | ||
<a class="prev" href="/{{previous.path}}">« {{previous.title}}</a> | ||
{% endif %} | ||
{% if next %} | ||
<a class="next" href="/{{next.path}}">{{next.title}} »</a> | ||
{% endif %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<title>test</title> | ||
</head> | ||
<body> | ||
<h1>index.html</h1> | ||
|
||
This is my Index page! | ||
|
||
|
||
<a href="posts/2014-08-24-my-first-blogpost.html">My first Blogpost</a> | ||
|
||
<a href="posts/2014-08-25-my-second-blogpost.html">My second Blogpost</a> | ||
|
||
<a href="posts/2014-08-26-my-third-blogpost.html">My third Blogpost</a> | ||
|
||
|
||
</body> | ||
</html> | ||
|
14 changes: 14 additions & 0 deletions
14
tests/target/previous_next/posts/2014-08-24-my-first-blogpost.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<title>My blog - My first Blogpost</title> | ||
</head> | ||
<body> | ||
<h1>My first Blogpost</h1> | ||
<p>Hey there this is my first blogpost and this is super awesome.</p> | ||
<p>My Blog is lorem ipsum like, yes it is..</p> | ||
<p><a class="prev" href="/posts/2014-08-25-my-second-blogpost.html">« My second Blogpost</a></p> | ||
|
||
</body> | ||
</html> | ||
|
15 changes: 15 additions & 0 deletions
15
tests/target/previous_next/posts/2014-08-25-my-second-blogpost.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<title>My blog - My second Blogpost</title> | ||
</head> | ||
<body> | ||
<h1>My second Blogpost</h1> | ||
<p>Hey there this is my second blogpost and this is super awesome.</p> | ||
<p>My Blog is lorem ipsum like, yes it is..</p> | ||
<p><a class="prev" href="/posts/2014-08-26-my-third-blogpost.html">« My third Blogpost</a></p> | ||
<p><a class="next" href="/posts/2014-08-24-my-first-blogpost.html">My first Blogpost »</a></p> | ||
|
||
</body> | ||
</html> | ||
|
14 changes: 14 additions & 0 deletions
14
tests/target/previous_next/posts/2014-08-26-my-third-blogpost.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<title>My blog - My third Blogpost</title> | ||
</head> | ||
<body> | ||
<h1>My third Blogpost</h1> | ||
<p>Hey there this is my third blogpost and this is super awesome.</p> | ||
<p>My Blog is lorem ipsum like, yes it is..</p> | ||
<p><a class="next" href="/posts/2014-08-25-my-second-blogpost.html">My second Blogpost »</a></p> | ||
|
||
</body> | ||
</html> | ||
|