flatiron/blacksmith

The links in index.html of test/fixtures/blog are broken when viewed locally (without web server)

Opened this issue · 0 comments

The links in index.html for the blog unit tests are broken when access as plain files (not using a web server). It seams as though blacksmith assumes that all posts are in separate folders and are named index.html

It would be really useful if no web server was needed in order to view the files locally.

From index.html

...
<div class="article">
  <div class="page-details">
    <a href="/another-post" class="read-more">
      <h1 class="title">another-post</h1>
    </a>
    <div class="subtitle">
      <div class="author">
        <img class="gravatar" style="width: 20px; height: 20px;" src="http://www.gravatar.com/avatar?d=identicon" />
        By <span class="name">Charlie Robbins</span>
      </div>
      <div class="date">Wednesday, November 28, 2012</div>
    </div>
  </div>
  <div class="content"><p>This is a simple post with metadata, not used in the article

</p>
</div>
</div>
...