diff --git a/_layouts/index-page.html b/_layouts/index-page.html new file mode 100644 index 0000000..d6e5a32 --- /dev/null +++ b/_layouts/index-page.html @@ -0,0 +1,17 @@ +{% include html-head.html %} + +

{{ site.name }}

+ +

{{ page.title }}

+ + + + {% include footer.html %} + +{% include html-foot.html %} \ No newline at end of file diff --git a/_posts/demos/2010-01-01-index.yml b/_posts/demos/2010-01-01-index.yml new file mode 100644 index 0000000..cd6b18e --- /dev/null +++ b/_posts/demos/2010-01-01-index.yml @@ -0,0 +1,7 @@ +--- +title: Demos +layout: index-page +category: demos +body_class: doc +--- + diff --git a/_posts/docs/2010-01-01-index.yml b/_posts/docs/2010-01-01-index.yml new file mode 100644 index 0000000..09fdca6 --- /dev/null +++ b/_posts/docs/2010-01-01-index.yml @@ -0,0 +1,5 @@ +--- +title: Docs +layout: index-page +category: docs +--- diff --git a/_posts/tests/2010-01-01-index.yml b/_posts/tests/2010-01-01-index.yml new file mode 100644 index 0000000..6a965a0 --- /dev/null +++ b/_posts/tests/2010-01-01-index.yml @@ -0,0 +1,6 @@ +--- +title: Tests +layout: index-page +category: tests +body_class: doc +--- diff --git a/index.html b/index.html index 6f57e89..7232267 100644 --- a/index.html +++ b/index.html @@ -56,10 +56,14 @@ layout: nil
  • Powerful methods, simple syntax
  • Progressively enhanced for CSS3 transforms & transitions
  • {% for doc in site.categories.docs reversed %} -
  • Docs: {{ doc.title }}
  • + {% if doc.layout != 'index-page' %} +
  • Docs: {{ doc.title }}
  • + {% endif %} {% endfor %} {% for demo in site.categories.demos reversed %} -
  • Demo: {{ demo.title }}
  • + {% if demo.layout != 'index-page' %} +
  • Demo: {{ demo.title }}
  • + {% endif %} {% endfor %}