Trying Jekyll at Giraffe Academy

(V042 20200808) I am just following Mike Dane's tutorial. It is a really really great tutorial!

View on GitHub
== START MYPOST

Tutorial 12: Layouts

S: Mr. Yoda-Yoda

P: Default Post Author

L: MyPost Author


HOME



== END MYPOST

Tutorial 12: Layouts

Tutorial 12

TIPS

New _layouts folder

mkdir _layouts

File _layouts/wrapper.html

<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>Head Title</title>
  <meta name="description" content="Head Meta Description">
  <meta name="author" content="Head Meta Author">
</head>
<body>
<b>START WRAPPER</b> <br>
{{ content }}
<br> <b>END WRAPPER</b>
</body>
</html>

File _layouts/post.html

---
layout: "wrapper"
---

<h1>Post Layout</h1>
<hr>

{{ content }}