0

I am writing my posts in jekyll in html. I cannot seem to figure out how to specify layout fro the post. What is the html equivalent of this markdown header

---
layout: post
---
Surya
  • 4,922
  • 8
  • 41
  • 54

2 Answers2

3

You do the same thing in HTML files (and any files) to specify a layout to use.

mipadi
  • 398,885
  • 90
  • 523
  • 479
2

The layout refers to the HTML templates stored under _layouts in your Jekyll directory structure.

If you want to use different layouts for different types of post then you need to create multiple templates in _layouts.

the Tin Man
  • 158,662
  • 42
  • 215
  • 303
RobertKenny
  • 3,556
  • 2
  • 19
  • 17