From 1d9ec6ad65d462c97d0648a46b8129bc0bbdbada Mon Sep 17 00:00:00 2001 From: Greg Wilson Date: Mon, 10 Nov 2014 12:55:24 -0500 Subject: [PATCH] Overly-zealous .gitignore had excluded the `_layouts` directory - this PR fixes it. 1. Modify `.gitignore` to only ignore HTML files in the current directory. 2. Add `_includes/page.html` template. --- .gitignore | 2 +- _layouts/page.html | 15 +++++++++++++++ 2 files changed, 16 insertions(+), 1 deletion(-) create mode 100644 _layouts/page.html diff --git a/.gitignore b/.gitignore index 6ee631a..96689ef 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,5 @@ *~ *.pyc -*.html +./*.html .DS_Store _site diff --git a/_layouts/page.html b/_layouts/page.html new file mode 100644 index 0000000..2101ea9 --- /dev/null +++ b/_layouts/page.html @@ -0,0 +1,15 @@ + + + + + $if(title-prefix)$$title-prefix$ - $endif$$pagetitle$ + $header$ + + + $banner$ + $if(title)$

$title$

$endif$ + $body$ + $footer$ + $javascript$ + + -- GitLab