Surya
Surya

Reputation: 4972

specifying layout for html posts in jekyll

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
---

Upvotes: 0

Views: 425

Answers (2)

RobertKenny
RobertKenny

Reputation: 3596

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.

Upvotes: 2

mipadi
mipadi

Reputation: 410592

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

Upvotes: 3

Related Questions