Merge pull request #72 from ugisozols/master
Remove old code. (SO into this)
This commit is contained in:
commit
5f31b50b61
4 changed files with 14 additions and 44 deletions
|
@ -88,12 +88,5 @@
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
</nav>
|
</nav>
|
||||||
<% if Refinery.version < '0.9.9' %>
|
|
||||||
<% content_for :head do %>
|
<% content_for :stylesheets, stylesheet_link_tag('refinery/refinerycms-blog')%>
|
||||||
<%= stylesheet_link_tag('refinery/refinerycms-blog') %>
|
|
||||||
<%# this javascript is not even required in >= 0.9.9 because we made this sort of menu core. %>
|
|
||||||
<%= javascript_include_tag('refinery/refinerycms-blog') %>
|
|
||||||
<% end %>
|
|
||||||
<% else %>
|
|
||||||
<% content_for :stylesheets, stylesheet_link_tag('refinery/refinerycms-blog')%>
|
|
||||||
<% end %>
|
|
||||||
|
|
|
@ -59,8 +59,5 @@
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
<% if Refinery.version < '0.9.9' %>
|
|
||||||
<% content_for :head, stylesheet_link_tag('refinery/refinerycms-blog') %>
|
<% content_for :stylesheets, stylesheet_link_tag('refinery/refinerycms-blog') %>
|
||||||
<% else %>
|
|
||||||
<% content_for :stylesheets, stylesheet_link_tag('refinery/refinerycms-blog') %>
|
|
||||||
<% end %>
|
|
||||||
|
|
|
@ -86,12 +86,5 @@
|
||||||
} %>
|
} %>
|
||||||
<% end -%>
|
<% end -%>
|
||||||
|
|
||||||
<% if Refinery.version < '0.9.9' %>
|
<% content_for :stylesheets, render(:partial => 'form.css') -%>
|
||||||
<% content_for :head do %>
|
<% content_for :javascripts, render(:partial => 'form.js') -%>
|
||||||
<%= render :partial => 'form.css' %>
|
|
||||||
<%= render :partial => 'form.js' %>
|
|
||||||
<% end %>
|
|
||||||
<% else %>
|
|
||||||
<% content_for :stylesheets, render(:partial => 'form.css') -%>
|
|
||||||
<% content_for :javascripts, render(:partial => 'form.js') -%>
|
|
||||||
<% end %>
|
|
||||||
|
|
|
@ -57,24 +57,11 @@
|
||||||
|
|
||||||
<%= render :partial => "/shared/content_page", :locals => { :remove_automatic_sections => true } %>
|
<%= render :partial => "/shared/content_page", :locals => { :remove_automatic_sections => true } %>
|
||||||
|
|
||||||
<% if Refinery.version < '0.9.9' %>
|
<% content_for :stylesheets, stylesheet_link_tag('refinerycms-blog') %>
|
||||||
<% content_for :head_libraries, jquery_include_tags(:jquery_ui => false) %>
|
<% content_for :before_javascript_libraries, jquery_include_tags(:jquery_ui => false) %>
|
||||||
<% content_for :head do %>
|
<% content_for :javascripts do %>
|
||||||
<%= stylesheet_link_tag 'refinerycms-blog' %>
|
<%# enable AJAX'd post nav at your own risk until html5 history API implemented. %>
|
||||||
<%# enable AJAX'd post nav at your own risk until html5 history API implemented. %>
|
<%#= javascript_include_tag('refinerycms-blog') %>
|
||||||
<%#= javascript_include_tag('refinerycms-blog') %>
|
<script src="http://w.sharethis.com/button/buttons.js"></script>
|
||||||
<% if BlogPost::ShareThis.enabled? %>
|
<script>stLight.options({publisher:'<%= BlogPost::ShareThis.key %>'});</script>
|
||||||
<script src="http://w.sharethis.com/button/buttons.js"></script>
|
<% end if BlogPost::ShareThis.enabled? %>
|
||||||
<script>stLight.options({publisher:'<%= BlogPost::ShareThis.key %>'});</script>
|
|
||||||
<% end %>
|
|
||||||
<% end %>
|
|
||||||
<% else %>
|
|
||||||
<% content_for :stylesheets, stylesheet_link_tag('refinerycms-blog') %>
|
|
||||||
<% content_for :before_javascript_libraries, jquery_include_tags(:jquery_ui => false) %>
|
|
||||||
<% content_for :javascripts do %>
|
|
||||||
<%# enable AJAX'd post nav at your own risk until html5 history API implemented. %>
|
|
||||||
<%#= javascript_include_tag('refinerycms-blog') %>
|
|
||||||
<script src="http://w.sharethis.com/button/buttons.js"></script>
|
|
||||||
<script>stLight.options({publisher:'<%= BlogPost::ShareThis.key %>'});</script>
|
|
||||||
<% end if BlogPost::ShareThis.enabled? %>
|
|
||||||
<% end %>
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue