Commits

Scott Nixon committed 93e8a43

A few small changes to for cdn js and css.

Comments (0)

Files changed (4)

article/templates/herb.html

     <link rel="shortcut icon" href="http://img1.happyherbivore.com/favicon.ico">
     <link rel="alternate" type="application/rss+xml" title="Happy Herbivore Blog RSS" href="http://feeds.feedburner.com/HappyHerbivore-Blog">
 
-{% if not debug %}
+    <script type="text/javascript" src="https://www.google.com/jsapi?key=ABQIAAAAHtQa3n-NXW-mufLJ5-R_pRSN_7pkuEmkLeo6xOoOPIdHXm3DixRQkbJPjugrQ14QHwe7qzyHecP69w"></script>
+    <script type="text/javascript">
+      google.load("jquery", "1.6.2");
+      google.load("jqueryui", "1.8.14");
+    </script>
+
+{% if debug %}
     <link rel="stylesheet" type="text/css" media="screen"
 	  href="/media/css/happyherbivore.css?v=182" />   
     <link rel="stylesheet" type="text/css" media="print" 
 	  href="/media/css/print.css"/>
     <link type="text/css" href="/media/jquery/ui/1.8.14/css/south-street/jquery.ui.base.css" rel="stylesheet"> 
     <link type="text/css" href="/media/jquery/ui/1.8.14/css/south-street/jquery.ui.theme.css" rel="stylesheet"> 
-    <script type="text/javascript" src="https://www.google.com/jsapi?key=ABQIAAAAHtQa3n-NXW-mufLJ5-R_pRSN_7pkuEmkLeo6xOoOPIdHXm3DixRQkbJPjugrQ14QHwe7qzyHecP69w"></script>
-    <script type="text/javascript">
-      google.load("jquery", "1.6.2");
-      google.load("jqueryui", "1.8.14");
-    </script>
 {% else %}
     <link rel="stylesheet" type="text/css" media="screen"
-	  href="http://css.happyherbivore.com/hhdbce891b46d3.css" />
+	  href="http://css.happyherbivore.com/hh80b396d01ecf1.css" />
+    <link rel="stylesheet" type="text/css" media="print"
+	  href="http://css.happyherbivore.com/print1ecf.css" />
 {% endif %}
 
 	      {% block extrahead %}
 	      </script>
 
 	      {% if settings.DEBUG %}
-	      <script src="/media/js/hh-lib.js"></script>
+	      <script src="/media/compile-js/hh80b396d01ecf.js"></script>
 	      {% else %}
-	      <script src="http://css.happyherbivore.com/hh-lib-min.js"></script>
+	      <script src="http://css.happyherbivore.com/hh80b396d01ecf.js"></script>
 	      {% endif %}
 
     {% gblock 14 for "gblocks.Text" into "typekit" %}

article/templates/post_index.html

 {% load generic_flatblocks %}
 
 {% block extrahead %}
-  <link type="text/css" href="/media/css/jqueryui/redmond/jquery-ui-1.8.11.custom.css" rel="stylesheet">
   {% gblock 14 for "gblocks.Text" into "siteFonts" %}
   {{ siteFonts.text|safe }}
 <script type="text/javascript" src="https://apis.google.com/js/plusone.js"></script>		

article/templates/recipe_detail.html

 	<meta name="description" content="{% if recipe %} 
            {{ recipe.recipe_name }}: {{ recipe.recipe_description|striptags }} 
 	   {% endif %}" />
-
+{% if debug %}
 	<link type="text/css" href="/media/jquery/ui/1.8.14/css/south-street/jquery.ui.all.css" rel="stylesheet"> 
 		<link type="text/css" href="/media/jquery/ui/1.8.14/css/south-street/jquery.ui.accordion.css" rel="stylesheet"> 
+{% endif %}
 	<link rel="stylesheet" type="text/css" href="/media/custom/gritter/jquery.gritter.css" />
 	<script type="text/javascript" src="/media/custom/gritter/jquery.gritter.min.js"></script>
+
 <script type="text/javascript"> 
 
 $(function() {
     $(".fullscr").click(function() {
-        $("link[rel=stylesheet]").attr({href : "/media/css/print.css"});
+        $("link[rel=stylesheet]").attr({href : "http://css.happyherbivore.com/print1ecf.css"});
     });
     $(".closefullscreen").click(function() {
-        $("link[rel=stylesheet]").attr({href : "/media/css/happyherbivore.css"});
+        $("link[rel=stylesheet]").attr({href : "http://css.happyherbivore.com/hh80b396d01ecf1.css"});
     });
 });
 </script>
 	  </li>
 	  <li style="border-top: 1px #DDD solid;">
 	      <span id="fullscr-icon" class="floatleft"></span>
-	      <a href="" class="styleswitch fullscr" rel="print" 
+	      <a href="#" class="styleswitch fullscr" rel="print" 
 		 title="Open Full-Screen">Full Screen view</a>
 	  </li>
 	  <li>
-	    <a href="" onClick="window.print();" title="Print Recipe">
+	    <a href="#" onClick="window.print();" title="Print Recipe">
       	      <span id="print-icon" class="floatleft"></span>
 	      Print Recipe</A>
 	  </li>

article/templates/recipe_index.html

 
 <div class="full-width">
 
-    <div id="draggable" class="ui-widget-content ui-draggable">
+    <div id="draggable">
       <h1>
 	<a href="#section1">Filter</a>
       </h1>