Closed constantx closed 10 years ago
Yep, was fixed in https://github.com/laktek/punch-blog/commit/4dd012128c0d17ef1cb966557e36f075ebfec7ab
You might have to replace the helpers/index_helper.js
in your exisiting blog with the latest.
Hi,
I think you might be misunderstanding my issue. I think the commit you reference only for formatting the publish date.
The issue I'm running into is with the Front-matter HAML block at the beginning of the markdown:
---
title: a sample blog post
published: false
tags:
- reference
---
Even though the published
param is set to false, the blog is still being generated into html when I run punch generate
.
Maybe that param is not a setting for whether or not it'll be compiled?
Oops...Linked to the wrong commit :D
This is the one related to the issue: https://github.com/laktek/punch-blog/commit/0eb7fd34ea367c6294bd72f00a722c5a73e364f4
Sent from my iPhone
On 12 Oct, 2013, at 2:47 PM, Truong Nguyen notifications@github.com wrote:
Hi,
I think you might be misunderstanding my issue. I think the commit you reference only for formatting the publish date.
The issue I'm running into is with the Front-matter HAML block at the beginning of the markdown:
title: a sample blog post published: false tags:
- reference
Even though the published param is set to false, the blog is still being generated into html when I run punch generate.
Maybe that param is not a setting for whether or not it'll be compiled?
— Reply to this email directly or view it on GitHub.
Rad. I think that exclude the publish: false
post from the index. Looks like the actual page is still being generated and accessible via permalink path though. Intended?
I only have one post, but it's still being included in the static generated site even though the
published: false
is set in the markdown file.Bug?