Commits

Anonymous committed f2e335b

Re-arranged the order of the includes and tags to make over-riding easier.

I'm contemplating on getting rid of the share-this and stuff variable because
it may make everything slower - not sure.

  • Participants
  • Parent commits 037a165

Comments (0)

Files changed (3)

File lib/prelude.wml

 #include "latemp/latemp-prelude.wml"
 #include "local-defs.wml"
 
+#include "share-this.wml"
+#include "sponsored_ad.wml"
+#include "amazon.wml"

File lib/rest-of-template.wml

-
-#include "sponsored_ad.wml"
-#include "share-this.wml"
-#include "amazon.wml"
-
-
 <define-tag ad_brite_top_proto>
 <!-- Begin: AdBrite, Generated: 2009-07-19 17:29:07  -->
 <script type="text/javascript">
 <div class="wishlist_notice">
 <p>If you like this site, I would appreciate a gift from <a href="<amazon_wishlist_link />">my wishlist</a>.</p>
 </div>
-<div class="news_buttons"> 
-<script src="http://digg.com/tools/diggthis.js" type="text/javascript"></script>
-<script type="text/javascript" src="http://reddit.com/button.js?t=2"></script>
-</div>
+<news_sites_buttons />
 </latemp_before_main_title>
 
 <section_nav_menu_elements>

File lib/share-this.wml

 <script type="text/javascript" src="http://w.sharethis.com/button/sharethis.js#publisher=8ea86932-e0be-4dc7-968a-19bfb8033845&amp;type=website&amp;post_services=facebook%2Cmyspace%2Cdigg%2Cdelicious%2Cybuzz%2Ctwitter%2Cstumbleupon%2Creddit%2Ctechnorati%2Cmixx%2Cblogger%2Cwordpress%2Ctypepad%2Cgoogle_bmarks%2Cwindows_live%2Cfark%2Cbus_exchange%2Cpropeller%2Cnewsvine%2Clinkedin%2Clivejournal%2Cslashdot%2Cyahoo_bmarks%2Cxanga"></script>
 <script src="http://slashdot.org/slashdot-it.js" type="text/javascript"></script>
 </define-tag>
+
+<define-tag news_sites_buttons>
+<div class="news_buttons"> 
+<script src="http://digg.com/tools/diggthis.js" type="text/javascript"></script>
+<script type="text/javascript" src="http://reddit.com/button.js?t=2"></script>
+</div>
+</define-tag>