1. Shlomi Fish
  2. shlomi-fish-homepage

Commits

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

Re-organized the site template and the theme template some more, in order
to make the theme template re-usable.

  • Participants
  • Parent commits 46fff40
  • Branches default

Comments (0)

Files changed (2)

File lib/latemp/themes/shlomifish.org-tabular-1/template.wml

View file
 #include "utils.wml"
 
+<define-tag latemp_theme_breadcrumbs_trail_html>
+<tr>
+<td colspan="2" class="leading_path">
+<latemp_get_breadcrumbs_trail_unconditionally />
+</td>
+</tr>
+</define-tag>
+
 <latemp_init_h_w_navmenu />
 
 # Utility Functions.
-<define-tag software_patents>1</define-tag>
 
 <define-tag printable_style>
 <style type="text/css">
 <body>
 <define-tag start_table>
 <table summary="Layout Table: The first cell contains a navigation bar, the second the main page" border="0" width="99%">
-<tr>
-<td colspan="2" class="leading_path">
 <latemp_get_breadcrumbs_trail />
-</td>
-</tr>
 <tr>
 <td valign="top" class="navbar" style="width:20%">
-
-<if "<software_patents />" 
-    "<div class="center"><a href="http://swpat.ffii.org/" 
-     title="Stop Software Patents!"><img 
-     src="$(ROOT)/images/noepatents_liberty.png" 
-     alt="Stop Software Patents" class="highlight" 
-     style="border:0;margin-bottom:0.5em;" /></a></div>"
-    ""
-    />
+<latemp_top_left_corner_logo_text />
 <latemp_get_html_body_nav_links with_accesskey="1" />
 <latemp_get_nav_menu_html />
 <p>

File template.wml

View file
+<define-tag software_patents>1</define-tag>
 <set-var latemp_with_favicon="1" />
+<set-var latemp_with_breadcrumbs_trail="1" />
 #include "latemp/latemp-main.wml"
 
+<latemp_top_left_corner_logo>
+<if "<software_patents />" 
+    "<div class="center"><a href="http://swpat.ffii.org/" 
+     title="Stop Software Patents!"><img 
+     src="$(ROOT)/images/noepatents_liberty.png" 
+     alt="Stop Software Patents" class="highlight" 
+     style="border:0;margin-bottom:0.5em;" /></a></div>"
+    ""
+    />
+</latemp_top_left_corner_logo>
+
 <latemp_lang "en-US" />
 <latemp_encoding "utf-8" />
 <latemp_author "Shlomi Fish" />