Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #220 from whostolemyhat/sort-order
Allow posts to be reverse sorted
- Loading branch information
Showing
17 changed files
with
172 additions
and
4 deletions.
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
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,7 @@ | ||
name: cobalt blog | ||
source: "." | ||
dest: "build" | ||
post_order: "asc" | ||
ignore: | ||
- .git/* | ||
- build/* |
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 %} |
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 @@ | ||
extends: posts.liquid | ||
|
||
title: My first Blogpost | ||
date: 01 Jan 2016 21:00:00 +0100 | ||
--- | ||
# {{ title }} | ||
|
||
Hey there this is my first blogpost and this is super awesome. | ||
|
||
My Blog is lorem ipsum like, yes it is.. |
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 @@ | ||
extends: posts.liquid | ||
|
||
title: My fourth Blogpost | ||
date: 29 May 2016 23:00:00 +0100 | ||
--- | ||
# {{ title }} | ||
|
||
Hey there this is my first blogpost and this is super awesome. | ||
|
||
My Blog is lorem ipsum like, yes it is.. |
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 @@ | ||
extends: posts.liquid | ||
|
||
title: My second Blogpost | ||
date: 02 Jan 2016 10:00:00 +0100 | ||
--- | ||
# {{ title }} | ||
|
||
Hey there this is my first blogpost and this is super awesome. | ||
|
||
My Blog is lorem ipsum like, yes it is.. |
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 @@ | ||
extends: posts.liquid | ||
|
||
title: My third Blogpost | ||
date: 27 May 2016 23:00:00 +0100 | ||
--- | ||
# {{ title }} | ||
|
||
Hey there this is my first blogpost and this is super awesome. | ||
|
||
My Blog is lorem ipsum like, yes it is.. |
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,23 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<title>test</title> | ||
</head> | ||
<body> | ||
<h1>index.html</h1> | ||
|
||
This is my Index page! | ||
|
||
|
||
<a href="posts/my-first-blogpost.html">My first Blogpost</a> | ||
|
||
<a href="posts/my-second-blogpost.html">My second Blogpost</a> | ||
|
||
<a href="posts/my-third-blogpost.html">My third Blogpost</a> | ||
|
||
<a href="posts/my-fourth-blogpost.html">My fourth Blogpost</a> | ||
|
||
|
||
</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,13 @@ | ||
<!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> | ||
|
||
</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,13 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<title>My blog - My fourth Blogpost</title> | ||
</head> | ||
<body> | ||
<h1>My fourth 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> | ||
|
||
</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,13 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<title>My blog - My second Blogpost</title> | ||
</head> | ||
<body> | ||
<h1>My second 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> | ||
|
||
</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,13 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<title>My blog - My third Blogpost</title> | ||
</head> | ||
<body> | ||
<h1>My third 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> | ||
|
||
</body> | ||
</html> | ||
|