指定jekyll中html帖子的布局 [英] specifying layout for html posts in jekyll

查看:67
本文介绍了指定jekyll中html帖子的布局的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在用jekyll编写我的帖子.我似乎无法弄清楚如何为帖子指定布局. 这个markdown标头的html等效项是什么

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

推荐答案

您可以在HTML文件(和任何文件)中执行相同的操作,以指定要使用的布局.

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

这篇关于指定jekyll中html帖子的布局的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆