Tutorial 14: Includes
HOME
Tutorial 14: Includes
New _includes folder
mkdir _includes
File header.html
<h1 style="color: ">Jekyll, Ubuntu, and GitHub Pages</h1>
<hr>
<br>
File wrapper.html
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>{{ site.title }}</title>
<meta name="description" content="Head Meta Description">
<meta name="author" content="Head Meta Author">
</head>
<body>
<b>START WRAPPER</b> <br>
{% include header.html color="blue" %}
{{ content }}
<br> <b>END WRAPPER</b>
</body>
</html>