mirror of
https://github.com/cobalt-org/cobalt.rs
synced 2024-11-15 00:17:29 +00:00
Fix random post order in custom_path tests
This commit is contained in:
parent
2dc5ee6dfd
commit
a9ba60868a
11 changed files with 24 additions and 17 deletions
|
@ -1,7 +1,7 @@
|
|||
extends: posts.liquid
|
||||
|
||||
title: All date variables
|
||||
date: 3 May 2015 06:05:20 +0100
|
||||
date: 3 May 2015 01:05:20 +0100
|
||||
path: /:year/:month/:i_month/:day/:i_day/:hour/:minute/:second/
|
||||
---
|
||||
# {{ title }}
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
extends: posts.liquid
|
||||
|
||||
title: Custom paths with leading slash
|
||||
date: 3 May 2015 02:05:20 +0100
|
||||
path: /test/thing2.html
|
||||
---
|
||||
# {{ title }}
|
||||
|
|
1
tests/fixtures/custom_paths/posts/custom.md
vendored
1
tests/fixtures/custom_paths/posts/custom.md
vendored
|
@ -1,6 +1,7 @@
|
|||
extends: posts.liquid
|
||||
|
||||
title: Custom paths
|
||||
date: 3 May 2015 03:05:20 +0100
|
||||
path: test/thing.html
|
||||
---
|
||||
# {{ title }}
|
||||
|
|
|
@ -2,7 +2,7 @@ extends: posts.liquid
|
|||
|
||||
title: Date variables
|
||||
thing: hello
|
||||
date: 27 Oct 2015 14:00:00 +0100
|
||||
date: 3 May 2015 04:05:20 +0100
|
||||
path: /:year/:thing/
|
||||
---
|
||||
# {{ title }}
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
extends: posts.liquid
|
||||
|
||||
title: Boom without trailing slash
|
||||
date: 3 May 2015 05:05:20 +0100
|
||||
path: test/thing4
|
||||
---
|
||||
# {{ title }}
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
extends: posts.liquid
|
||||
|
||||
title: Boom
|
||||
date: 3 May 2015 06:05:20 +0100
|
||||
path: test/thing3/
|
||||
---
|
||||
# {{ title }}
|
||||
|
|
1
tests/fixtures/custom_paths/posts/no-path.md
vendored
1
tests/fixtures/custom_paths/posts/no-path.md
vendored
|
@ -1,6 +1,7 @@
|
|||
extends: posts.liquid
|
||||
|
||||
title: Custom paths
|
||||
date: 3 May 2015 07:05:20 +0100
|
||||
---
|
||||
# {{ title }}
|
||||
|
||||
|
|
|
@ -2,6 +2,7 @@ extends: posts.liquid
|
|||
|
||||
title: Variables
|
||||
thing: hello
|
||||
date: 3 May 2015 08:05:20 +0100
|
||||
path: test/:thing/
|
||||
---
|
||||
# {{ title }}
|
||||
|
|
|
@ -3,6 +3,7 @@ extends: posts.liquid
|
|||
title: Variables file name
|
||||
thing: hello
|
||||
thang: world
|
||||
date: 3 May 2015 09:05:20 +0100
|
||||
path: test/:thing/:thang.abc
|
||||
---
|
||||
# {{ title }}
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>My blog - 2015/05/5/03/3/06/05/20/index.html</title>
|
||||
<title>My blog - 2015/05/5/03/3/01/05/20/index.html</title>
|
||||
</head>
|
||||
<body>
|
||||
<h1>All date variables</h1>
|
|
@ -9,23 +9,23 @@
|
|||
This is my Index page!
|
||||
|
||||
|
||||
<a href="2015/hello/index.html">Date variables</a>
|
||||
|
||||
<a href="2015/05/5/03/3/06/05/20/index.html">All date variables</a>
|
||||
|
||||
<a href="test/thing2.html">Custom paths with leading slash</a>
|
||||
|
||||
<a href="test/thing.html">Custom paths</a>
|
||||
|
||||
<a href="test/thing4/index.html">Boom without trailing slash</a>
|
||||
|
||||
<a href="test/thing3/index.html">Boom</a>
|
||||
|
||||
<a href="posts/no-path.html">Custom paths</a>
|
||||
<a href="test/hello/world.abc">Variables file name</a>
|
||||
|
||||
<a href="test/hello/index.html">Variables</a>
|
||||
|
||||
<a href="test/hello/world.abc">Variables file name</a>
|
||||
<a href="posts/no-path.html">Custom paths</a>
|
||||
|
||||
<a href="test/thing3/index.html">Boom</a>
|
||||
|
||||
<a href="test/thing4/index.html">Boom without trailing slash</a>
|
||||
|
||||
<a href="2015/hello/index.html">Date variables</a>
|
||||
|
||||
<a href="test/thing.html">Custom paths</a>
|
||||
|
||||
<a href="test/thing2.html">Custom paths with leading slash</a>
|
||||
|
||||
<a href="2015/05/5/03/3/01/05/20/index.html">All date variables</a>
|
||||
|
||||
|
||||
</body>
|
||||
|
|
Loading…
Reference in a new issue