Jekyll Build Command


#1

Hello.

I need help. Been trying to search the internet but have not found a resource useful for this. I am building a website with jekyll for my company. I have the main home page file [index.html] and some directories like contact us, terms & conditions etc. But when I type jekyll build command in the terminal, the directories are not built into the _site directory.

I get my css, js folders intact along with my index.html file for the home page. But others come out as contact-us.html, terms-and-conditions.html when it would be inside a folder.

Can you please help me out? How do I correct this.

Thanks.

Sricharan Krishnan


#2

are you setting a permalink?

I believe you need permalink: pretty in your config.