Shlomi Fish avatar Shlomi Fish committed c9286f1

Start merging into a dual English/Hebrew version.

Comments (0)

Files changed (1)

t2/humour/bits/facts/Chuck-Norris/index.html.wml

 <latemp_subject "Chuck Norris Facts" />
 <latemp_meta_desc "Additional Chuck Norris Factoids by Shlomi Fish and Friends. No one is as tough as Norris." />
 
+<define-tag en endtag="required">
+{#EN#:%body:##}
+</define-tag>
+
+<define-tag he endtag="required">
+{#HE#:%body:##}
+</define-tag>
+
+<define-tag both endtag="required">
+<en>%body</en><he>%body</he>
+</define-tag>
+
+<define-tag item_en endtag="required">
+<en>
+<li>
+<p>
+%body
+</p>
+</li>
+</en>
+</define-tag>
+
+<define-tag item_he endtag="required">
+<he>
+<li>
+<p>
+%body
+</p>
+</li>
+</he>
+</define-tag>
+
 <p>
 These are additions to <a href="http://www.chucknorrisfacts.com/">the
 Chuck Norris facts</a> by my Internet friends and by me. Most of them are kinda
 geeky (or even computer geeky), but some are more generic.
 </p>
 
-<h2 id="facts">Chuck Norris Facts</h2>
-
-<div class="tabs">
-
-<ul>
-<li><a href="#chuck_facts_en">English</a></li>
-<li><a href="#chuck_facts_he">Hebrew (עברית)</a></li>
-</ul>
-
-<div id="chuck_facts_en">
-
-<ul>
-
+<en>
 <li>
 Chuck Norris wrote a complete Perl 6 implementation in a day, but then destroyed
 all evidence with his bare hands, so no-one will know his secrets.
 Corleone</a>’s godfather. (<b>ZadYree</b>)
 </li>
 
-</ul>
+</en>
 
-</div>
-
-<div id="chuck_facts_he" class="hebrew">
-
-<ul>
+<he>
 
 <li>
 צ'אק נוריס כתב מימוש מלא של פרל 6 ביום, אבל אז השמיד כל זכר לכך בידיו הריקות,
 מלאך המוות לא עומד בקצב של ההריגות של צ'אק נוריס.
 </li>
 
+</he>
+
+<h2 id="facts">Chuck Norris Facts</h2>
+
+<div class="tabs">
+
+<ul>
+<li><a href="#chuck_facts_en">English</a></li>
+<li><a href="#chuck_facts_he">Hebrew (עברית)</a></li>
 </ul>
+
+<div id="chuck_facts_en">
+
+<ul>
+{#EN#}
+</ul>
+
+</div>
+
+<div id="chuck_facts_he" class="hebrew">
+
+<ul>
+{#HE#}
+</ul>
+
 </div>
 
 </div> ;;; end of .tabs
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.