From ee7c61b3aff87e92d34806a41fe332ed558ccff1 Mon Sep 17 00:00:00 2001 From: Dominik Prodinger Date: Wed, 3 Oct 2018 08:32:27 +0200 Subject: [PATCH] Break up Navigation and Footer into Separate Files Improve modularity by outsourcing the nav and footer tags into distinct files. Signed-off-by: Dominik Prodinger --- _includes/footer.html | 5 +++++ _includes/navigation.html | 11 +++++++++++ _layouts/default.html | 19 +++---------------- 3 files changed, 19 insertions(+), 16 deletions(-) create mode 100644 _includes/footer.html create mode 100644 _includes/navigation.html diff --git a/_includes/footer.html b/_includes/footer.html new file mode 100644 index 0000000..729a53d --- /dev/null +++ b/_includes/footer.html @@ -0,0 +1,5 @@ +
+ + © {{ site.author.name }}. Made with Jekyll using the Tale theme. + +
diff --git a/_includes/navigation.html b/_includes/navigation.html new file mode 100644 index 0000000..d858ec8 --- /dev/null +++ b/_includes/navigation.html @@ -0,0 +1,11 @@ + diff --git a/_layouts/default.html b/_layouts/default.html index af7fd68..8c8261e 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -4,26 +4,13 @@ {% include head.html %} - + + {% include navigation.html %}
{{ content }}
- + {% include footer.html %}