We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ef5e8a1 commit 6660067Copy full SHA for 6660067
test/source/_layouts/archive.html
@@ -1 +1 @@
1
-Test
+{{ page.posts.size }}
test/test_jekyll_archives.rb
@@ -44,7 +44,7 @@ class TestJekyllArchives < Minitest::Test
44
45
should "generate archive pages with a layout" do
46
@site.process
47
- assert_equal "Test", read_file("tag/test-tag/index.html")
+ assert_equal "2", read_file("tag/test-tag/index.html")
48
end
49
50
@@ -81,7 +81,7 @@ class TestJekyllArchives < Minitest::Test
81
should "use custom layout for specific type only" do
82
assert_equal "Test too", read_file("/2014/index.html")
83
assert_equal "Test too", read_file("/2013/index.html")
84
- assert_equal "Test", read_file("/tag/test-tag/index.html")
+ assert_equal "2", read_file("/tag/test-tag/index.html")
85
86
87
0 commit comments