diff options
author | Uģis Ozols <ugis.ozolss@gmail.com> | 2011-06-03 22:25:01 +0300 |
---|---|---|
committer | Uģis Ozols <ugis.ozolss@gmail.com> | 2011-06-03 22:25:01 +0300 |
commit | aefcf291a9ae3e1d81ec1dd9888c9feb71f532ed (patch) | |
tree | e4e63cfaab98d7e46f036ece473003a06bbd1b04 /app/views/blog | |
parent | 7c36aa87f0f9154638d90191e07d6888b5d39343 (diff) | |
download | refinerycms-blog-aefcf291a9ae3e1d81ec1dd9888c9feb71f532ed.tar.gz refinerycms-blog-aefcf291a9ae3e1d81ec1dd9888c9feb71f532ed.tar.bz2 refinerycms-blog-aefcf291a9ae3e1d81ec1dd9888c9feb71f532ed.zip |
Remove old code (< 0.9.9).
Diffstat (limited to 'app/views/blog')
-rw-r--r-- | app/views/blog/posts/show.html.erb | 29 |
1 files changed, 8 insertions, 21 deletions
diff --git a/app/views/blog/posts/show.html.erb b/app/views/blog/posts/show.html.erb index 92898a4..97b8af2 100644 --- a/app/views/blog/posts/show.html.erb +++ b/app/views/blog/posts/show.html.erb @@ -57,24 +57,11 @@ <%= render :partial => "/shared/content_page", :locals => { :remove_automatic_sections => true } %> -<% if Refinery.version < '0.9.9' %> - <% content_for :head_libraries, jquery_include_tags(:jquery_ui => false) %> - <% content_for :head do %> - <%= stylesheet_link_tag 'refinerycms-blog' %> - <%# enable AJAX'd post nav at your own risk until html5 history API implemented. %> - <%#= javascript_include_tag('refinerycms-blog') %> - <% if BlogPost::ShareThis.enabled? %> - <script src="http://w.sharethis.com/button/buttons.js"></script> - <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 %> +<% 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? %> |