Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Development Tools

Adarsh Prabhu
Adarsh Prabhu
15,394 Points

Pages and Posts on Same Page with Jekyll

Is it possible to have post and static data on the same page? I ask because it seems Jekyll treats post and static information independently.

I am looking to create a single page application that includes both.

For example:

Lunch Menu

  1. Monday - Pizza
  2. Tuesday - Spaghetti
  3. Wednesday - Steak & Potatoes
  4. Thursday - Pumpkin Soup
  5. Friday - Pork Chops

Blog

25-08-16

Hey folks we've prepared a new menu for this week. Hope you guys like it. If you want drop us suggestions, please feel free to do so.

Thanks (The Big Chef)

1 Answer

Hi Adarsh,

You should be able to create a static page by adding .html at the end of the file and locating the file at the root directory similar to where index.html is located.