wrongusername
wrongusername

Reputation: 18918

Is there a way to write Jekyll posts without the date?

Is there a way to have files named title.MARKUP instead of YEAR-MONTH-DAY-title.MARKUP? I'm not writing blog posts so it's not very useful to add the date in.

Upvotes: 3

Views: 1222

Answers (1)

Ron
Ron

Reputation: 1161

You don't have to write posts - you can make pages instead. Anything not in the _posts directory is considered a page (or a collection if you are using that). Name it however you like. If it is in the _posts directory it is supposed to include the date.

I ignore the _posts directory on a couple of my sites - everything is a page instead.

You can use markdown in pages or posts, jekyll doesn't care.

Upvotes: 5

Related Questions