From 8e696c48a016a5e50d3d45ab93e9028b36170a72 Mon Sep 17 00:00:00 2001 From: Igor Vaynberg Date: Mon, 28 May 2012 14:41:59 -0700 Subject: [PATCH] site reworked with jekyll. added 2.0 and latest pages --- .gitignore | 1 + _config.yml | 0 _includes/pages_list | 36 ++ _layouts/main.html | 146 +++++++ index.html | 166 +------- js/html5shim.js | 3 + select2-1.0.html | 138 +------ select2-latest.html | 883 +++++++++++++++++++++++++++++++++++++++++++ 8 files changed, 1089 insertions(+), 284 deletions(-) create mode 100755 _config.yml create mode 100755 _includes/pages_list create mode 100755 _layouts/main.html create mode 100755 js/html5shim.js create mode 100755 select2-latest.html diff --git a/.gitignore b/.gitignore index 579d4341..dbdcdbb3 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ .idea select2wip +_site diff --git a/_config.yml b/_config.yml new file mode 100755 index 00000000..e69de29b diff --git a/_includes/pages_list b/_includes/pages_list new file mode 100755 index 00000000..d8d3eb96 --- /dev/null +++ b/_includes/pages_list @@ -0,0 +1,36 @@ +{% comment %}{% endcomment %} + + {% for node in pages_list %} + {% if node.title != null %} + {% if group == null or group == node.group %} + {% if page.url == node.url %} +
  • {{node.title}}
  • + {% else %} +
  • {{node.title}}
  • + {% endif %} + {% endif %} + {% endif %} + {% endfor %} + +{% assign pages_list = nil %} +{% assign group = nil %} \ No newline at end of file diff --git a/_layouts/main.html b/_layouts/main.html new file mode 100755 index 00000000..b8de97d8 --- /dev/null +++ b/_layouts/main.html @@ -0,0 +1,146 @@ + + + + + {{ page.title }} + + + + + + + + + + + + + + + + + + + + + + + + + Fork me on GitHub + + +
    + +
    +

    Select2

    +

    Select2 is a jQuery based replacement for select boxes. + It supports searching, remote data sets, and infinite scrolling of results. + Look and feel of Select2 is based on the excellent + Chosen library.

    +

    + Learn more on GitHub» + Download» +

    +
    + + + + {{ content }} + + +
    +
    +

    About

    +
    + + +
    +
    + + +
    + + diff --git a/index.html b/index.html index fbe5070d..32fd00ed 100755 --- a/index.html +++ b/index.html @@ -1,44 +1,10 @@ - - - - - Select2 - - - +--- +layout: main +title: Select2 2.0 +group: navigation +--- - - - - - - - - - - - - - - - - - - - - -