Jekyll, Ubuntu, and GitHub Pages

(V039-20210731) Just, GitHub Pages, Ubuntu, and Jekyll
This site is managed by VauLSMorg ( since 2020.

View on GitHub

Tutorial 12: Layouts


Tutorial 12: Layouts


New _layouts folder

mkdir _layouts

File _layouts/wrapper.html

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

File _layouts/post.html

layout: "wrapper"

<h1>Post Layout</h1>

{{ content }}