Commits

Andrey Vlasovskikh committed d240db6

Added erroneously ignored _site direcories in test

Comments (0)

Files changed (11)

 syntax:glob
-_site
+doc/_site
 build
 dist
 venv

test/data/files/after/_site/a.txt

+Hello, World!

test/data/files/after/_site/dir1/a.txt

+a

test/data/markdown_pages/after/_site/index.html

+<h1>Hello</h1>
+<p>Hello, <em>World</em>!</p>

test/data/markdown_pages/after/_site/no_yaml_front_matter.md

+No YAML Front Matter
+====================
+
+So the file is treated as an ordinary file, not as a page.

test/data/posts/after/_site/2012/05/22/test-1.html

+<!DOCTYPE html>
+<html>
+  <head>
+        <title>Test Post 1</title>
+      </head>
+  <body>
+    <section>
+      <h1>Test Post 1</h1>
+      <p>Hello, this is a blog entry.</p>
+      <p><a href="/2012/05/22/test-1.html">#permalink</a></p>
+    </section>
+  </body>
+</html>

test/data/posts/after/_site/2012/05/23/test-2.html

+<!DOCTYPE html>
+<html>
+  <head>
+        <title>Post 2</title>
+      </head>
+  <body>
+    <section>
+      <h1>Post 2</h1>
+      <p>Post 2 is about nothing. Its URL is <a href="/2012/05/23/test-2.html">/2012/05/23/test-2.html</a>, and
+    its tags are:</p>
+    <ul>
+
+        <li>tag 1</li>
+
+        <li>tag 2</li>
+
+    </ul>
+      <p><a href="/2012/05/23/test-2.html">#permalink</a></p>
+    </section>
+  </body>
+</html>

test/data/posts/after/_site/2012/05/24/test-3.html

+<!DOCTYPE html>
+<html>
+  <head>
+        <title>Test 3</title>
+      </head>
+  <body>
+    <section>
+      <h1>Test 3</h1>
+      <p>Test 3...</p>
+      <p><a href="/2012/05/24/test-3.html">#permalink</a></p>
+    </section>
+  </body>
+</html>

test/data/posts/after/_site/index.html

+<!DOCTYPE html>
+<html>
+  <head>
+        <title>My Blog</title>
+      </head>
+  <body>
+    <h1>My Blog</h1>
+<p>List of posts:</p>
+<ul>
+
+          <li>2012-05-24
+              <a href="/2012/05/24/test-3.html">Test 3</a></li>
+
+          <li>2012-05-23
+              <a href="/2012/05/23/test-2.html">Post 2</a></li>
+
+    </ul>
+  </body>
+</html>

test/data/rendered_pages/after/_site/a.html

+<!DOCTYPE html>
+<html>
+  <head>
+    <title>Test /// Test Site</title>
+  </head>
+  <body>
+    <h1>Test</h1>
+    <p>Hello, <em>World</em>!</p>
+    <p>My URL is <a href="/a.html">/a.html</a>.</p>
+    <p>Global: Global X.</p>
+    <p>The end.</p>
+  </body>
+</html>

test/data/rendered_pages/after/_site/b/index.html

+<!DOCTYPE html>
+<html>
+  <head>
+    <title> /// Test Site</title>
+  </head>
+  <body>
+
+    <p>This is an index page.</p>
+  </body>
+</html>