From fc9c88a6b8ace262267fa5a305881cbd1a289fb3 Mon Sep 17 00:00:00 2001 From: David DeSandro Date: Wed, 15 Jun 2011 15:44:59 -0400 Subject: [PATCH] docs : remove old layouts; change inf scroll pages --- _includes/inf-scroll-page.html | 21 ++++ _layouts/demo.html | 11 -- _layouts/doc.html | 36 ------ _layouts/elements.html | 111 ------------------ _layouts/index-page.html | 17 --- _layouts/inf-scroll-page.html | 31 ----- .../{2011-01-01-2.yml => 2011-01-01-2.html} | 6 +- .../{2011-01-01-3.yml => 2011-01-01-3.html} | 6 +- .../{2011-01-01-4.yml => 2011-01-01-4.html} | 6 +- .../{2011-01-01-5.yml => 2011-01-01-5.html} | 6 +- .../{2011-01-01-6.yml => 2011-01-01-6.html} | 6 +- 11 files changed, 41 insertions(+), 216 deletions(-) create mode 100644 _includes/inf-scroll-page.html delete mode 100644 _layouts/demo.html delete mode 100644 _layouts/doc.html delete mode 100644 _layouts/elements.html delete mode 100644 _layouts/index-page.html delete mode 100644 _layouts/inf-scroll-page.html rename _posts/pages/{2011-01-01-2.yml => 2011-01-01-2.html} (62%) rename _posts/pages/{2011-01-01-3.yml => 2011-01-01-3.html} (62%) rename _posts/pages/{2011-01-01-4.yml => 2011-01-01-4.html} (62%) rename _posts/pages/{2011-01-01-5.yml => 2011-01-01-5.html} (62%) rename _posts/pages/{2011-01-01-6.yml => 2011-01-01-6.html} (62%) diff --git a/_includes/inf-scroll-page.html b/_includes/inf-scroll-page.html new file mode 100644 index 0000000..c074fc3 --- /dev/null +++ b/_includes/inf-scroll-page.html @@ -0,0 +1,21 @@ +
+ {% assign page_position = page.page_position %} + {% for element in site.elements limit:20 offset:page.page_position %} + {% include element-partial.html %} + {% endfor %} +
+ + + + \ No newline at end of file diff --git a/_layouts/demo.html b/_layouts/demo.html deleted file mode 100644 index 140d2aa..0000000 --- a/_layouts/demo.html +++ /dev/null @@ -1,11 +0,0 @@ -{% include html-head.html %} - -

{{ site.name }} Demo

- -

{{ page.title }}

- - {{ content }} - - {% include footer.html %} - -{% include html-foot.html %} \ No newline at end of file diff --git a/_layouts/doc.html b/_layouts/doc.html deleted file mode 100644 index e8afc11..0000000 --- a/_layouts/doc.html +++ /dev/null @@ -1,36 +0,0 @@ -{% include html-head.html %} - - - -
- -

{{ page.title }}

- - {{ content }} - - {% include footer.html %} - -
- -{% include html-foot.html %} \ No newline at end of file diff --git a/_layouts/elements.html b/_layouts/elements.html deleted file mode 100644 index 0bc0d85..0000000 --- a/_layouts/elements.html +++ /dev/null @@ -1,111 +0,0 @@ -{% include html-head.html %} - -

{{ site.name }} Demo

- -

{{ page.title }}

- -
-

Isotope’s capabilities are designed to be used together cohesively. You can do it all — filter, sort, change layout modes, add items — and Isotope will handle it with ease.

-
- -
- - {% include filter-buttons.html %} - - {% include sort-buttons.html %} - - {% include layout-options.html %} - -

Etc

- - -
- - - - {{ content }} - - {% include footer.html %} - - - - - - - -{% include html-foot.html %} \ No newline at end of file diff --git a/_layouts/index-page.html b/_layouts/index-page.html deleted file mode 100644 index d6e5a32..0000000 --- a/_layouts/index-page.html +++ /dev/null @@ -1,17 +0,0 @@ -{% include html-head.html %} - -

{{ site.name }}

- -

{{ page.title }}

- - - - {% include footer.html %} - -{% include html-foot.html %} \ No newline at end of file diff --git a/_layouts/inf-scroll-page.html b/_layouts/inf-scroll-page.html deleted file mode 100644 index 717ed3e..0000000 --- a/_layouts/inf-scroll-page.html +++ /dev/null @@ -1,31 +0,0 @@ -{% include html-head.html %} - -

{{ site.name }} Demo

- -

{{ page.title }}

- -
- {% assign page_position = page.page_position %} - {% for element in site.elements limit:20 offset:page_position %} - {% include element-partial.html %} - {% endfor %} -
- - {% include footer.html %} - - - - - -{% include html-foot.html %} \ No newline at end of file diff --git a/_posts/pages/2011-01-01-2.yml b/_posts/pages/2011-01-01-2.html similarity index 62% rename from _posts/pages/2011-01-01-2.yml rename to _posts/pages/2011-01-01-2.html index 533d5cd..a5b226c 100644 --- a/_posts/pages/2011-01-01-2.yml +++ b/_posts/pages/2011-01-01-2.html @@ -1,7 +1,9 @@ --- title: Infinite Scroll Page 2 category: pages -layout: inf-scroll-page +layout: default page_position: 20 infinite_scroll: true ---- \ No newline at end of file +--- + +{% include inf-scroll-page.html %} \ No newline at end of file diff --git a/_posts/pages/2011-01-01-3.yml b/_posts/pages/2011-01-01-3.html similarity index 62% rename from _posts/pages/2011-01-01-3.yml rename to _posts/pages/2011-01-01-3.html index 05f9908..5aa7e41 100644 --- a/_posts/pages/2011-01-01-3.yml +++ b/_posts/pages/2011-01-01-3.html @@ -1,7 +1,9 @@ --- title: Infinite Scroll Page 3 category: pages -layout: inf-scroll-page +layout: default page_position: 40 infinite_scroll: true ---- \ No newline at end of file +--- + +{% include inf-scroll-page.html %} \ No newline at end of file diff --git a/_posts/pages/2011-01-01-4.yml b/_posts/pages/2011-01-01-4.html similarity index 62% rename from _posts/pages/2011-01-01-4.yml rename to _posts/pages/2011-01-01-4.html index 3465532..d08868d 100644 --- a/_posts/pages/2011-01-01-4.yml +++ b/_posts/pages/2011-01-01-4.html @@ -1,7 +1,9 @@ --- title: Infinite Scroll Page 4 category: pages -layout: inf-scroll-page +layout: default page_position: 60 infinite_scroll: true ---- \ No newline at end of file +--- + +{% include inf-scroll-page.html %} \ No newline at end of file diff --git a/_posts/pages/2011-01-01-5.yml b/_posts/pages/2011-01-01-5.html similarity index 62% rename from _posts/pages/2011-01-01-5.yml rename to _posts/pages/2011-01-01-5.html index 60004e2..7da5795 100644 --- a/_posts/pages/2011-01-01-5.yml +++ b/_posts/pages/2011-01-01-5.html @@ -1,7 +1,9 @@ --- title: Infinite Scroll Page 5 category: pages -layout: inf-scroll-page +layout: default page_position: 80 infinite_scroll: true ---- \ No newline at end of file +--- + +{% include inf-scroll-page.html %} \ No newline at end of file diff --git a/_posts/pages/2011-01-01-6.yml b/_posts/pages/2011-01-01-6.html similarity index 62% rename from _posts/pages/2011-01-01-6.yml rename to _posts/pages/2011-01-01-6.html index b1fa4c7..369c780 100644 --- a/_posts/pages/2011-01-01-6.yml +++ b/_posts/pages/2011-01-01-6.html @@ -1,7 +1,9 @@ --- title: Infinite Scroll Page 6 category: pages -layout: inf-scroll-page +layout: default page_position: 100 infinite_scroll: true ---- \ No newline at end of file +--- + +{% include inf-scroll-page.html %} \ No newline at end of file