diff --git a/_config.yml b/_config.yml index 3dc15ba..f85a70d 100644 --- a/_config.yml +++ b/_config.yml @@ -4,600 +4,11 @@ pygments: true isotope_js: jquery.isotope.min.js exclude: [ Rakefile ] -elements: - - categories: [alkali, metal] - number: 11 - symbol: Na - name: Sodium - weight: 22.98976928 - - categories: [actinoid, metal, inner-transition] - number: 91 - symbol: Pa - name: Protactinium - weight: 231.03588 - - categories: [lanthanoid, metal, inner-transition] - number: 63 - symbol: Eu - name: Europium - weight: 151.964 - - categories: [alkaline-earth, metal] - number: 38 - symbol: Sr - name: Strontium - weight: 87.62 - - categories: [alkaline-earth, metal] - number: 4 - symbol: Be - name: Beryllium - weight: 9.012182 - - categories: [transition, metal] - number: 25 - symbol: Mn - name: Manganese - weight: 54.938045 - - categories: [actinoid, metal, inner-transition] - number: 94 - symbol: Pu - name: Plutonium - weight: (244) - - categories: [transition, metal] - number: 29 - symbol: Cu - name: Copper - weight: 63.546 - - categories: [lanthanoid, metal, inner-transition] - number: 60 - symbol: Nd - name: Neodymium - weight: 144.242 - - categories: [transition, metal] - number: 48 - symbol: Cd - name: Cadmium - weight: 112.411 - - categories: [metalloid] - number: 32 - symbol: Ge - name: Germanium - weight: 72.64 - - categories: [lanthanoid, metal, inner-transition] - number: 67 - symbol: Ho - name: Holmium - weight: 164.93032 - - categories: [metalloid] - number: 33 - symbol: As - name: Arsenic - weight: 74.9216 - - categories: [alkali, metal] - number: 37 - symbol: Rb - name: Rubidium - weight: 85.4678 - - categories: [transition, metal] - number: 39 - symbol: Y - name: Yttrium - weight: 88.90585 - - categories: [metalloid] - number: 84 - symbol: Po - name: Polonium - weight: (209) - - categories: [transition, metal] - number: 40 - symbol: Zr - name: Zirconium - weight: 91.224 - - categories: [other, nonmetal] - number: 7 - symbol: N - name: Nitrogen - weight: 14.0067 - - categories: [actinoid, metal, inner-transition] - number: 96 - symbol: Cm - name: Curium - weight: (247) - - categories: [other, nonmetal] - number: 8 - symbol: O - name: Oxygen - weight: 15.9994 - - categories: [actinoid, metal, inner-transition] - number: 97 - symbol: Bk - name: Berkelium - weight: (247) - - categories: [halogen, nonmetal] - number: 9 - symbol: F - name: Fluorine - weight: 18.9984032 - - categories: [metalloid] - number: 14 - symbol: Si - name: Silicon - weight: 28.0855 - - categories: [actinoid, metal, inner-transition] - number: 99 - symbol: Es - name: Einsteinium - weight: (252) - - categories: [other, nonmetal] - number: 15 - symbol: P - name: Phosphorus - weight: 30.973762 - - categories: [alkali, metal] - number: 19 - symbol: K - name: Potassium - weight: 39.0983 - - categories: [metalloid] - number: 5 - symbol: B - name: Boron - weight: 10.811 - - categories: [noble-gas, nonmetal] - number: 36 - symbol: Kr - name: Krypton - weight: 83.798 - - categories: [post-transition, metal] - number: 114 - symbol: Uuq - name: Ununquadium - weight: (289) - - categories: [alkaline-earth, metal] - number: 20 - symbol: Ca - name: Calcium - weight: 40.078 - - categories: [transition, metal] - number: 30 - symbol: Zn - name: Zinc - weight: 65.38 - - categories: [transition, metal] - number: 80 - symbol: Hg - name: Mercury - weight: 200.59 - - categories: [post-transition, metal] - number: 13 - symbol: Al - name: Aluminium - weight: 26.9815386 - - categories: [transition, metal] - number: 47 - symbol: Ag - name: Silver - weight: 107.8682 - - categories: [transition, metal] - number: 21 - symbol: Sc - name: Scandium - weight: 44.955912 - - categories: [alkali, metal] - number: 3 - symbol: Li - name: Lithium - weight: 6.941 - - categories: [transition, metal] - number: 22 - symbol: Ti - name: Titanium - weight: 47.867 - - categories: [post-transition, metal] - number: 31 - symbol: Ga - name: Gallium - weight: 69.723 - - categories: [noble-gas, nonmetal] - number: 54 - symbol: Xe - name: Xenon - weight: 131.293 - - categories: [lanthanoid, metal, inner-transition] - number: 66 - symbol: Dy - name: Dysprosium - weight: 162.5 - - categories: [alkali, metal] - number: 55 - symbol: Cs - name: Caesium - weight: 132.9054519 - - categories: [lanthanoid, metal, inner-transition] - number: 71 - symbol: Lu - name: Lutetium - weight: 174.9668 - - categories: [ other, nonmetal ] - number: 1 - symbol: H - name: Hydrogen - weight: 1.00794 - - categories: [transition, metal] - number: 23 - symbol: V - name: Vanadium - weight: 50.9415 - - categories: [transition, metal] - number: 41 - symbol: Nb - name: Niobium - weight: 92.90638 - - categories: [lanthanoid, metal, inner-transition] - number: 70 - symbol: Yb - name: Ytterbium - weight: 173.054 - - categories: [noble-gas, nonmetal] - number: 2 - symbol: He - name: Helium - weight: 4.002602 - - categories: [transition, metal] - number: 77 - symbol: Ir - name: Iridium - weight: 192.217 - - categories: [halogen, nonmetal] - number: 117 - symbol: Uus - name: Ununseptium - weight: (294) - - categories: [transition, metal] - number: 79 - symbol: Au - name: Gold - weight: 196.966569 - - categories: [transition, metal] - number: 42 - symbol: Mo - name: Molybdenum - weight: 95.96 - - categories: [actinoid, metal, inner-transition] - number: 95 - symbol: Am - name: Americium - weight: (243) - - categories: [transition, metal] - number: 46 - symbol: Pd - name: Palladium - weight: 106.42 - - categories: [post-transition, metal] - number: 50 - symbol: Sn - name: Tin - weight: 118.71 - - categories: [lanthanoid, metal, inner-transition] - number: 69 - symbol: Tm - name: Thulium - weight: 168.93421 - - categories: [halogen, nonmetal] - number: 53 - symbol: I - name: Iodine - weight: 126.90447 - - categories: [alkaline-earth, metal] - number: 56 - symbol: Ba - name: Barium - weight: 137.327 - - categories: [transition, metal] - number: 72 - symbol: Hf - name: Hafnium - weight: 178.49 - - categories: [metalloid] - number: 51 - symbol: Sb - name: Antimony - weight: 121.76 - - categories: [transition, metal] - number: 73 - symbol: Ta - name: Tantalum - weight: 180.94788 - - categories: [lanthanoid, metal, inner-transition] - number: 59 - symbol: Pr - name: Praseodymium - weight: 140.90765 - - categories: [transition, metal] - number: 74 - symbol: W - name: Tungsten - weight: 183.84 - - categories: [halogen, nonmetal] - number: 35 - symbol: Br - name: Bromine - weight: 79.904 - - categories: [post-transition, metal] - number: 49 - symbol: In - name: Indium - weight: 114.818 - - categories: [actinoid, metal, inner-transition] - number: 101 - symbol: Md - name: Mendelevium - weight: (258) - - categories: [alkaline-earth, metal] - number: 88 - symbol: Ra - name: Radium - weight: (226) - - categories: [other, nonmetal] - number: 34 - symbol: Se - name: Selenium - weight: 78.96 - - categories: [transition, metal] - number: 76 - symbol: Os - name: Osmium - weight: 190.23 - - categories: [actinoid, metal, inner-transition] - number: 102 - symbol: 'No' - name: Nobelium - weight: (259) - - categories: [transition, metal] - number: 75 - symbol: Re - name: Rhenium - weight: 186.207 - - categories: [actinoid, metal, inner-transition] - number: 103 - symbol: Lr - name: Lawrencium - weight: (262) - - categories: [post-transition, metal] - number: 81 - symbol: Tl - name: Thallium - weight: 204.3833 - - categories: [lanthanoid, metal, inner-transition] - number: 58 - symbol: Ce - name: Cerium - weight: 140.116 - - categories: [other, nonmetal] - number: 6 - symbol: C - name: Carbon - weight: 12.0107 - - categories: [post-transition, metal] - number: 82 - symbol: Pb - name: Lead - weight: 207.2 - - categories: [transition, metal] - number: 26 - symbol: Fe - name: Iron - weight: 55.845 - - categories: [transition, metal] - number: 27 - symbol: Co - name: Cobalt - weight: 58.933195 - - categories: [transition, metal] - number: 44 - symbol: Ru - name: Ruthenium - weight: 101.07 - - categories: [post-transition, metal] - number: 83 - symbol: Bi - name: Bismuth - weight: 208.9804 - - categories: [transition, metal] - number: 45 - symbol: Rh - name: Rhodium - weight: 102.9055 - - categories: [noble-gas, nonmetal] - number: 86 - symbol: Rn - name: Radon - weight: (222) - - categories: [lanthanoid, metal, inner-transition] - number: 68 - symbol: Er - name: Erbium - weight: 167.259 - - categories: [alkali, metal] - number: 87 - symbol: Fr - name: Francium - weight: (223) - - categories: [transition, metal] - number: 104 - symbol: Rf - name: Rutherfordium - weight: (267) - - categories: [transition, metal] - number: 105 - symbol: Db - name: Dubnium - weight: (268) - - categories: [noble-gas, nonmetal] - number: 10 - symbol: Ne - name: Neon - weight: 20.1797 - - categories: [halogen, nonmetal] - number: 85 - symbol: At - name: Astatine - weight: (210) - - categories: [transition, metal] - number: 43 - symbol: Tc - name: Technetium - weight: (98) - - categories: [alkaline-earth, metal] - number: 12 - symbol: Mg - name: Magnesium - weight: 24.305 - - categories: [transition, metal] - number: 109 - symbol: Mt - name: Meitnerium - weight: (276) - - categories: [transition, metal] - number: 110 - symbol: Ds - name: Darmstadtium - weight: (281) - - categories: [post-transition, metal] - number: 113 - symbol: Uut - name: Ununtrium - weight: (284) - - categories: [transition, metal] - number: 28 - symbol: Ni - name: Nickel - weight: 58.6934 - - categories: [transition, metal] - number: 106 - symbol: Sg - name: Seaborgium - weight: (271) - - categories: [transition, metal] - number: 107 - symbol: Bh - name: Bohrium - weight: (272) - - categories: [transition, metal] - number: 108 - symbol: Hs - name: Hassium - weight: (270) - - categories: [post-transition, metal] - number: 115 - symbol: Uup - name: Ununpentium - weight: (288) - - categories: [lanthanoid, metal, inner-transition] - number: 62 - symbol: Sm - name: Samarium - weight: 150.36 - - categories: [post-transition, metal] - number: 116 - symbol: Uuh - name: Ununhexium - weight: (293) - - categories: [noble-gas, nonmetal] - number: 118 - symbol: Uuo - name: Ununoctium - weight: (294) - - categories: [lanthanoid, metal, inner-transition] - number: 57 - symbol: La - name: Lanthanum - weight: 138.90547 - - categories: [transition, metal] - number: 111 - symbol: Rg - name: Roentgenium - weight: (280) - - categories: [transition, metal] - number: 112 - symbol: Cn - name: Copernicium - weight: (285) - - categories: [lanthanoid, metal, inner-transition] - number: 61 - symbol: Pm - name: Promethium - weight: (145) - - categories: [actinoid, metal, inner-transition] - number: 89 - symbol: Ac - name: Actinium - weight: (227) - - categories: [actinoid, metal, inner-transition] - number: 90 - symbol: Th - name: Thorium - weight: 232.03806 - - categories: [lanthanoid, metal, inner-transition] - number: 64 - symbol: Gd - name: Gadolinium - weight: 157.25 - - categories: [lanthanoid, metal, inner-transition] - number: 65 - symbol: Tb - name: Terbium - weight: 158.92535 - - categories: [actinoid, metal, inner-transition] - number: 92 - symbol: U - name: Uranium - weight: 238.02891 - - categories: [actinoid, metal, inner-transition] - number: 93 - symbol: Np - name: Neptunium - weight: (237) - - categories: [transition, metal] - number: 78 - symbol: Pt - name: Platinum - weight: 195.084 - - categories: [transition, metal] - number: 24 - symbol: Cr - name: Chromium - weight: 51.9961 - - categories: [actinoid, metal, inner-transition] - number: 98 - symbol: Cf - name: Californium - weight: (251) - - categories: [actinoid, metal, inner-transition] - number: 100 - symbol: Fm - name: Fermium - weight: (257) - - categories: [other, nonmetal] - number: 16 - symbol: S - name: Sulfur - weight: 32.065 - - categories: [halogen, nonmetal] - number: 17 - symbol: Cl - name: Chlorine - weight: 35.453 - - categories: [noble-gas, nonmetal] - number: 18 - symbol: Ar - name: Argon - weight: 39.948 - - categories: [metalloid] - number: 52 - symbol: Te - name: Tellurium - weight: 127.6 +random_order: [ 11, 91, 63, 38, 4, 25, 94, 29, 60, 48, 32, 67, 33, 37, 39, 84, 40, 7, 96, 8, 97, 9, 14, 99, 15, 19, 5, 36, 114, 20, 30, 80, 13, 47, 21, 3, 22, 31, 54, 66, 55, 71, 1, 23, 41, 70, 2, 77, 117, 79, 42, 95, 46, 50, 69, 53, 56, 72, 51, 73, 59, 74, 35, 49, 101, 88, 34, 76, 102, 75, 103, 81, 58, 6, 82, 26, 27, 44, 83, 45, 86, 68, 87, 104, 105, 10, 85, 43, 12, 109, 110, 113, 28, 106, 107, 108, 115, 62, 116, 0, 57, 111, 112, 61, 89, 90, 64, 65, 92, 93, 78, 24, 98, 100, 16, 17, 18, 52 ] +best_of_order: [ 79, 51, 82, 47, 19, 74, 80, 50, 26, 70, 17, 36, 6, 92, 88 ] -elements_ordered: +elements: - categories: [ other, nonmetal ] number: 1 symbol: H @@ -1191,80 +602,3 @@ elements_ordered: -elements_best_of: - - categories: [transition, metal] - number: 79 - symbol: Au - name: Gold - weight: 196.966569 - - categories: [metalloid] - number: 51 - symbol: Sb - name: Antimony - weight: 121.76 - - categories: [post-transition, metal] - number: 82 - symbol: Pb - name: Lead - weight: 207.2 - - categories: [transition, metal] - number: 47 - symbol: Ag - name: Silver - weight: 107.8682 - - categories: [alkali, metal] - number: 19 - symbol: K - name: Potassium - weight: 39.0983 - - categories: [transition, metal] - number: 74 - symbol: W - name: Tungsten - weight: 183.84 - - categories: [transition, metal] - number: 80 - symbol: Hg - name: Mercury - weight: 200.59 - - categories: [post-transition, metal] - number: 50 - symbol: Sn - name: Tin - weight: 118.71 - - categories: [transition, metal] - number: 26 - symbol: Fe - name: Iron - weight: 55.845 - - categories: [lanthanoid, metal, inner-transition] - number: 70 - symbol: Yb - name: Ytterbium - weight: 173.054 - - categories: [halogen, nonmetal] - number: 17 - symbol: Cl - name: Chlorine - weight: 35.453 - - categories: [noble-gas, nonmetal] - number: 36 - symbol: Kr - name: Krypton - weight: 83.798 - - categories: [other, nonmetal] - number: 6 - symbol: C - name: Carbon - weight: 12.0107 - - categories: [actinoid, metal, inner-transition] - number: 92 - symbol: U - name: Uranium - weight: 238.02891 - - categories: [alkaline-earth, metal] - number: 88 - symbol: Ra - name: Radium - weight: (226) - diff --git a/_layouts/inf-scroll-page.html b/_layouts/inf-scroll-page.html index 5670ed4..c5c57c2 100644 --- a/_layouts/inf-scroll-page.html +++ b/_layouts/inf-scroll-page.html @@ -6,7 +6,7 @@
{% assign page_position = page.page_position %} - {% for element in site.elements_ordered limit:20 offset:page_position %} + {% for element in site.elements limit:20 offset:page_position %} {% include element-partial.html %} {% endfor %}
diff --git a/_posts/demos/2010-12-12-basic.html b/_posts/demos/2010-12-12-basic.html index aad6af2..2e69403 100644 --- a/_posts/demos/2010-12-12-basic.html +++ b/_posts/demos/2010-12-12-basic.html @@ -10,7 +10,7 @@ related: a-intro
- {% for element in site.elements_ordered limit:20 %} + {% for element in site.elements limit:20 %} {% include element-partial.html %} {% endfor %}
diff --git a/_posts/demos/2010-12-13-elements-complete.html b/_posts/demos/2010-12-13-elements-complete.html index 86fa896..77c6469 100644 --- a/_posts/demos/2010-12-13-elements-complete.html +++ b/_posts/demos/2010-12-13-elements-complete.html @@ -6,7 +6,8 @@ related: a-intro ---
- {% for element in site.elements %} + {% for elem_number in site.random_order %} + {% assign element = site.elements[elem_number] %} {% include element-partial.html %} {% endfor %}
diff --git a/_posts/demos/2010-12-16-elements-partial.html b/_posts/demos/2010-12-16-elements-partial.html index d16767b..61f327e 100644 --- a/_posts/demos/2010-12-16-elements-partial.html +++ b/_posts/demos/2010-12-16-elements-partial.html @@ -6,7 +6,8 @@ related: a-intro ---
- {% for element in site.elements_best_of %} + {% for elem_number in site.best_of_order %} + {% assign element = site.elements[elem_number] %} {% include element-partial.html %} {% endfor %}
diff --git a/_posts/demos/2010-12-29-layout-modes.html b/_posts/demos/2010-12-29-layout-modes.html index a5b5dcd..731ca1b 100644 --- a/_posts/demos/2010-12-29-layout-modes.html +++ b/_posts/demos/2010-12-29-layout-modes.html @@ -17,7 +17,7 @@ related: layouts
- {% for element in site.elements_ordered limit:20 %} + {% for element in site.elements limit:20 %} {% include element-partial.html %} {% endfor %}
diff --git a/_posts/demos/2010-12-30-filtering.html b/_posts/demos/2010-12-30-filtering.html index 6ae1c66..a5df00f 100644 --- a/_posts/demos/2010-12-30-filtering.html +++ b/_posts/demos/2010-12-30-filtering.html @@ -24,7 +24,8 @@ related: filtering
- {% for element in site.elements_best_of %} + {% for elem_number in site.best_of_order %} + {% assign element = site.elements[elem_number] %} {% include element-partial.html %} {% endfor %}
diff --git a/_posts/demos/2010-12-30-sorting.html b/_posts/demos/2010-12-30-sorting.html index 8376524..4b94934 100644 --- a/_posts/demos/2010-12-30-sorting.html +++ b/_posts/demos/2010-12-30-sorting.html @@ -17,7 +17,8 @@ related: sorting
- {% for element in site.elements_best_of %} + {% for elem_number in site.best_of_order %} + {% assign element = site.elements[elem_number] %} {% include element-partial.html %} {% endfor %}
diff --git a/_posts/demos/2010-12-31-relayout.html b/_posts/demos/2010-12-31-relayout.html index ee4d63e..c78d931 100644 --- a/_posts/demos/2010-12-31-relayout.html +++ b/_posts/demos/2010-12-31-relayout.html @@ -17,7 +17,7 @@ related: methods
- {% for element in site.elements_ordered limit:20 %} + {% for element in site.elements limit:20 %} {% include element-partial.html %} {% endfor %}
diff --git a/_posts/demos/2011-01-02-adding-items.html b/_posts/demos/2011-01-02-adding-items.html index 9b51e7e..8de6656 100644 --- a/_posts/demos/2011-01-02-adding-items.html +++ b/_posts/demos/2011-01-02-adding-items.html @@ -19,7 +19,8 @@ related: methods
- {% for element in site.elements_best_of limit:10 %} + {% for elem_number in site.best_of_order :limit 10 %} + {% assign element = site.elements[elem_number] %} {% include element-partial.html %} {% endfor %}
diff --git a/_posts/demos/2011-01-02-infinite-scroll.html b/_posts/demos/2011-01-02-infinite-scroll.html index 64db31e..0238ae1 100644 --- a/_posts/demos/2011-01-02-infinite-scroll.html +++ b/_posts/demos/2011-01-02-infinite-scroll.html @@ -11,7 +11,7 @@ infinite_scroll: true
- {% for element in site.elements_ordered limit:20 %} + {% for element in site.elements limit:20 %} {% include element-partial.html %} {% endfor %}