[Jekyll] Layout Templates

Cover the existing layout

create a folder _layouts and a file "post.html" in it

content in post.html

Then every post with this layout will be like this:


content is a special variable
now all the content shows up

Create own template

type in doc and press enter
change it
turn back to add the front matter in post.html

你可能感兴趣的:([Jekyll] Layout Templates)