From be79a612b222fe1ecb7cdea562024542ab9d602d Mon Sep 17 00:00:00 2001 From: Kyle Gordy Date: Thu, 21 Nov 2019 20:34:01 -0500 Subject: [PATCH] Split project list into a partial to use on multiple pages --- _includes/project-list.html | 51 +++++++++++++++++++++++++++++++++++++ _layouts/home.html | 10 +++++++- projects.html | 51 +------------------------------------ 3 files changed, 61 insertions(+), 51 deletions(-) create mode 100644 _includes/project-list.html diff --git a/_includes/project-list.html b/_includes/project-list.html new file mode 100644 index 0000000..3fca4e2 --- /dev/null +++ b/_includes/project-list.html @@ -0,0 +1,51 @@ + diff --git a/_layouts/home.html b/_layouts/home.html index a48430b..9e6d922 100644 --- a/_layouts/home.html +++ b/_layouts/home.html @@ -2,4 +2,12 @@ layout: default --- -This is an empty homepage. + +
+ + {% include project-list.html limit="3" %} + + All Projects + + +
diff --git a/projects.html b/projects.html index 4807387..fbc18d6 100644 --- a/projects.html +++ b/projects.html @@ -11,54 +11,5 @@ hero:

Open Source Projects

- - + {% include project-list.html %}