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 +--- - - - - - - - - - - - - - - - - - - - - -