sleepdeprecation / fjord

A static blog generator.
http://dkuntz2.github.io/fjord/
Other
1 stars 0 forks source link

why can't generate the output dir? #13

Open luckypoem opened 10 years ago

luckypoem commented 10 years ago

hi.

as3:~/fjord/fjord-site# fjord gen --base-url http://fjord.brite.biz -f output

Parsing Processing Rendering !! Template not found. .. post.html in post 'It works!' as3:~/fjord/fjord-site# ls archives _assets config.yml feed.xml index.html _posts _templates

how to fix it? tks

sleepdeprecation commented 10 years ago

Based on that error, it looks like you don't have a post.html in your _templates directory.

luckypoem commented 10 years ago

hi. i have a post.html in _templates directory. as3:~# cd ~/fjord/fjord-site as3:~/fjord/fjord-site# ls archives config.yml index.html _posts Rendering _assets feed.xml Parsing Processing _templates as3:~/fjord/fjord-site# ls _templates archive.html layout.html page.header.html post.html tag.html as3:~/fjord/fjord-site#

sleepdeprecation commented 10 years ago

What is Rendering, Parsing, and Processing ?

Run ls -p; it'll add a trailing slash to all directories.


Can you post your _templates/post.html and your "It works!" post?

sleepdeprecation commented 10 years ago

Also, to be fair, I haven't worked on this for a while (six months), and I'm not really planning on making more changes. You might have better luck running mynt, which this is based on. There are really only a few changes, and all of them were specific to my site.

And, looking at your gen command again, it doesn't look right.

Try running

$ fjord gen ./ output

Because you didn't specify the input directory, and it might be trying to do unnatural things...