Commits

Shlomi Fish  committed 185867c

Reorganised the Facts and made them more prominent.

  • Participants
  • Parent commits 4121541

Comments (0)

Files changed (5)

File lib/Shlomif/Homepage/SectionMenu/Sects/Humour.pm

                     title => "Collection of Quotes by Me and Others in the UNIX Fortune Format",
                     subs => Shlomif::Homepage::FortuneCollections->nav_data(),
                 },
+                {
+                    text => "Collections of Facts",
+                    url => "humour/bits/facts/",
+                    title => "Collections of funny factoids about various people and things",
+                    subs =>
+                    [
+                        {
+                            url => "humour/bits/facts/Chuck-Norris/",
+                            text => "Chuck Norris",
+                        },
+                        {
+                            url => "humour/bits/facts/Buffy/",
+                            text => "Buffy",
+                            title => "Facts about Buffy Summers from the Television show, Buffy the Vampire Slayer",
+                        },
+                        {
+                            url => "humour/bits/facts/Knuth/",
+                            text => "Knuth",
+                        },
+                        {
+                            url => "humour/bits/facts/Larry-Wall/",
+                            text => "Larry Wall",
+                        },
+                        {
+                            url => "humour/bits/facts/NSA/",
+                            text => "NSA",
+                        },
+                        {
+                            url => "humour/bits/facts/Xena/",
+                            text => "Xena",
+                            title => "Factoids about Xena, the Warrior Princess",
+                        },
+                        {
+                            url => "humour/bits/facts/XSLT/",
+                            text => "XSLT",
+                        },
+                    ],
+                },
            ],
         },
         {
                     text => "Freecell Solver™ Goes Webscale",
                     url => "humour/bits/Freecell-Solver-Goes-Webscale/",
                 },
-                {
-                    text => "Collections of Facts",
-                    url => "humour/bits/facts/",
-                    title => "Collection of funny facts about various people and things",
-                    subs =>
-                    [
-                        {
-                            url => "humour/bits/facts/Chuck-Norris/",
-                            text => "Chuck Norris",
-                        },
-                        {
-                            url => "humour/bits/facts/Buffy/",
-                            text => "Buffy",
-                            title => "Facts about Buffy Summers from the Television show, Buffy the Vampire Slayer",
-                        },
-                        {
-                            url => "humour/bits/facts/Knuth/",
-                            text => "Knuth",
-                        },
-                        {
-                            url => "humour/bits/facts/Larry-Wall/",
-                            text => "Larry Wall",
-                        },
-                        {
-                            url => "humour/bits/facts/NSA/",
-                            text => "NSA",
-                        },
-                        {
-                            url => "humour/bits/facts/Xena/",
-                            text => "Xena",
-                            title => "Factoids about Xena, the Warrior Princess",
-                        },
-                        {
-                            url => "humour/bits/facts/XSLT/",
-                            text => "XSLT",
-                        },
-                    ],
-                }
             ],
         },
         {

File lib/sass/common-style.sass

     h2
         background: transparent
 
+div.bordered
+    border-color: green
+    border-style: solid
+    border-width: medium
+    padding: 0.5em
+    margin-top: 1em
+    overflow: hidden
+
 /* Border-less
 
 .bless

File lib/stories/bits.wml

+<define-tag factoids_frame>
+
+<div class="bordered">
+
+<h2 id="facts"><a href="$(ROOT)/humour/bits/facts/">Collections of “Facts”</a></h2>
+
+<p>
+Starting from the meme of <a href="$(ROOT)/humour/bits/facts/Chuck-Norris/">Chuck Norris facts</a>
+and continuing to other people or things, such as
+<a href="$(ROOT)/humour/bits/facts/Larry-Wall/">Larry Wall</a>,
+<a href="$(ROOT)/humour/bits/facts/Xena/">Xena the Warrior Princess</a>,
+and even <a href="$(ROOT)/humour/bits/facts/XSLT/">XSLT</a> and
+<a href="$(ROOT)/humour/bits/facts/NSA/">the NSA</a>.
+</p>
+
+</div>
+
+</define-tag>
+

File t2/humour/aphorisms/index.html.wml

 #include '../template.wml'
+#include "stories/bits.wml"
 
 <latemp_subject "Shlomi Fish’s Aphorisms and Quotes" />
 <latemp_meta_desc "Directory for Aphorisms and Quotes by Shlomi Fish" />
 Also regularly updated.
 </p>
 
-<h2><a href="$(ROOT)/humour/bits/facts/">Collections of Factoids</a></h2>
-
-<p>
-Collections of “facts” about people and things.
-</p>
-
+<factoids_frame />

File t2/humour/bits/index.html.wml

 #include '../template.wml'
-
+#include "stories/bits.wml"
 
 <latemp_subject "Shlomi Fish’s Funny Bits" />
 
 Funny short scale stories I wrote - often just a pageful or two.
 </p>
 
+<factoids_frame />
+
 <h3 id="ways_to_do_it"><a href="../ways_to_do_it.html">Ways to Do It According to the Programming Languages of the World</a></h3>
 
 <p>
 <p>
 Another great innovation from Freecell Solver Enterprises™.
 </p>
-
-<h2 id="facts"><a href="facts/">Collections of Facts</a></h2>
-
-<p>
-Starting from the meme of <a href="facts/Chuck-Norris/">Chuck Norris facts</a>
-and continuing to other people or things.
-</p>
-