From ecd676a4cc6b4240406372c2a3db0efaee7c3ecb Mon Sep 17 00:00:00 2001 From: Jim Myhrberg Date: Fri, 29 Jan 2010 16:32:04 +0200 Subject: [PATCH] moved generic head/foot html in blog to their own files included by each of the layout files --- source/blog/_includes/_foot.html | 2 ++ source/blog/_includes/_head.html | 16 ++++++++++++++++ source/blog/_layouts/post-archive.html | 20 ++------------------ source/blog/_layouts/post-list.html | 20 ++------------------ source/blog/_layouts/post.html | 20 ++------------------ 5 files changed, 24 insertions(+), 54 deletions(-) create mode 100644 source/blog/_includes/_foot.html create mode 100644 source/blog/_includes/_head.html diff --git a/source/blog/_includes/_foot.html b/source/blog/_includes/_foot.html new file mode 100644 index 0000000..308b1d0 --- /dev/null +++ b/source/blog/_includes/_foot.html @@ -0,0 +1,2 @@ + + diff --git a/source/blog/_includes/_head.html b/source/blog/_includes/_head.html new file mode 100644 index 0000000..0e023b5 --- /dev/null +++ b/source/blog/_includes/_head.html @@ -0,0 +1,16 @@ + + + + + + + {{ page.title }} + + + + + + + + \ No newline at end of file diff --git a/source/blog/_layouts/post-archive.html b/source/blog/_layouts/post-archive.html index 2ac5e9e..3671a73 100644 --- a/source/blog/_layouts/post-archive.html +++ b/source/blog/_layouts/post-archive.html @@ -1,19 +1,4 @@ - - - - - - - {{ page.title }} - - - - - - - - +{% include _head.html %}
@@ -36,5 +21,4 @@ {% include disqus_load.html %} - - +{% include _foot.html %} diff --git a/source/blog/_layouts/post-list.html b/source/blog/_layouts/post-list.html index f79a9a4..34a26dc 100644 --- a/source/blog/_layouts/post-list.html +++ b/source/blog/_layouts/post-list.html @@ -1,19 +1,4 @@ - - - - - - - {{ page.title }} - - - - - - - - +{% include _head.html %}
@@ -50,5 +35,4 @@ {% include disqus_load.html %} - - +{% include _foot.html %} \ No newline at end of file diff --git a/source/blog/_layouts/post.html b/source/blog/_layouts/post.html index 548eccf..11a088c 100644 --- a/source/blog/_layouts/post.html +++ b/source/blog/_layouts/post.html @@ -1,19 +1,4 @@ - - - - - - - {{ page.title }} - - - - - - - - +{% include _head.html %}
@@ -54,5 +39,4 @@ {% include disqus_load.html %} - - +{% include _foot.html %}