Commits

shl...@cec68495-dca5-4e2b-845c-11fdaaa4f967  committed 6c7986c

Reduced the page loading time, and the width of the initial images up to
the navigation menu, so users can see everything when they first load the
browser.

  • Participants
  • Parent commits 45d7e21

Comments (0)

Files changed (4)

File common/images/css-btn.png

Added
New image

File common/images/evilphish.png

Added
New image

File common/images/xh11-btn.png

Added
New image

File template.wml

 #include "paypal.wml"
 
 <define-tag software_patents>1</define-tag>
-<set-var latemp_with_favicon="1" />
+#include "latemp/latemp-prelude.wml"
+<set-var latemp_with_favicon="<latemp_mynot "$(PRINTABLE)" />" />
 <set-var latemp_with_xml_declaration="1" />
 <set-var latemp_with_breadcrumbs_trail="1" />
 <set-var latemp_html_standard="xhtml1.1" />
 <set-var latemp_nav_links_allowed_places="top-left" />
 <set-var latemp_gen_plain_page="$(PRINTABLE)" />
-<set-var latemp_with_head_meta_tags="1" />
-#include "latemp/latemp-main.wml"
+<set-var latemp_with_head_meta_tags="<latemp_mynot "$(PRINTABLE)" />" />
+<set-var latemp_with_html_head_nav_links="<latemp_mynot "$(PRINTABLE)" />" />
+<set-var latemp_with_html_head_stylesheets="<latemp_mynot "$(PRINTABLE)" />" />
+#include "latemp/latemp-driver.wml"
 #include "shlomif/affiliations.wml"
 
 <define-tag google_adsense_code>
 
 <latemp_top_left_corner_logo>
 <div class="center"><a href="<rellink url="" host="t2" />" 
-    title="Shlomi Fish Homepage"><img 
-    src="$(ROOT)/images/shlomif-homepage-logo.png" 
-    alt="Shlomi Fish" class="highlight" 
+    title="Shlomi Fish' Homepage"><img 
+    src="$(ROOT)/images/evilphish.png" 
+    alt="EvilPHish by Illiad" class="highlight" 
     style="border:0;margin-bottom:0.5em;" 
     /></a></div>
 </latemp_top_left_corner_logo>
 <latemp_author "Shlomi Fish" />
 <latemp_common_keywords "Shlomi Fish, Shlomi, Fish, Perl, Humour, Israel, Programming, Open Source, Free Software, Presentations, Philosophy, Freecell, Freecell Solver, GIMP, Subversion, version control, Web, Web Design, DeCSS, Software" />
 <latemp_meta_desc "Shlomi Fish' Homepage" />
+# Nullify the affil_wml
+<define-tag affil_wml>
+</define-tag>
+<define-tag affil_valid_xhtml11>
+<p>
+<a href="http://validator.w3.org/check/referer" title="Valid XHTML 1.1!"
+class="bless"><img 
+    class="highlight bless"
+    src="$(ROOT)/images/xh11-btn.png" 
+    alt="Valid XHTML 1.1!"
+    /></a>
+</p>
+</define-tag>
+<define-tag affil_valid_css>
+<p>
+<a href="http://jigsaw.w3.org/css-validator/" title="Valid CSS!"
+class="bless"><img 
+    class="highlight bless"
+    src="$(ROOT)/images/css-btn.png" 
+    alt="Valid CSS!" /></a>
+</p>
+</define-tag>
+
 <latemp_affiliations_buttons>
 <if <ifeq "$(LATEMP_FILENAME)" "index.html" 
         <ifeq "$(LATEMP_SERVER)" "t2" "t2" "" /> "" /> 
 {#PAGE_EXTRA_HEAD_ELEMENTS#:%body:##}
 </define-tag>
 
-<latemp_extra_head_elements>
+<define-tag my_extra_head_elements>
 <script type="text/javascript" src="$(ROOT)/js/toggle_sect.js"></script>
 <link rel="alternate" type="application/rss+xml" title="Shlomi Fish' Homepage RSS Feed" href="http://www.livejournal.com/community/shlomif_hsite/data/rss" />
 <link rel="alternate" type="application/atom+xml" title="Shlomi Fish' Atom Feed" href="http://www.livejournal.com/community/shlomif_hsite/data/atom" />
 {#PAGE_EXTRA_HEAD_ELEMENTS#}
+</define-tag>
+
+<define-tag my_printable_head_elements>
+<style type="text/css">
+body { background-color : white; color: black; }
+td { vertical-align : top; }
+</style>
+</define-tag>
+<latemp_extra_head_elements>
+<if "$(PRINTABLE)" 
+    "<my_printable_head_elements />"
+    "<my_extra_head_elements />"
+    />
 </latemp_extra_head_elements>
+