aboutsummaryrefslogtreecommitdiffstats
path: root/app/views/blog/posts/show.html.erb
diff options
context:
space:
mode:
authorJoe Sak <joe@joesak.com>2011-03-01 20:33:40 -0600
committerJoe Sak <joe@joesak.com>2011-03-01 20:33:40 -0600
commit4df785af45cb504c2ffab55d659efb3d3c610ab6 (patch)
tree48d03dae76171659163ae7b5d895c86a65a503dc /app/views/blog/posts/show.html.erb
parent2cfc0c142cfecee70c82b68935f4232040b83376 (diff)
downloadrefinerycms-blog-4df785af45cb504c2ffab55d659efb3d3c610ab6.tar.gz
refinerycms-blog-4df785af45cb504c2ffab55d659efb3d3c610ab6.tar.bz2
refinerycms-blog-4df785af45cb504c2ffab55d659efb3d3c610ab6.zip
Kill AJAX based post nav -- let's shoot for HTML5 History API soon
Diffstat (limited to 'app/views/blog/posts/show.html.erb')
-rw-r--r--app/views/blog/posts/show.html.erb6
1 files changed, 4 insertions, 2 deletions
diff --git a/app/views/blog/posts/show.html.erb b/app/views/blog/posts/show.html.erb
index 48ca0b8..504db2c 100644
--- a/app/views/blog/posts/show.html.erb
+++ b/app/views/blog/posts/show.html.erb
@@ -60,7 +60,8 @@
<% content_for :head_libraries, jquery_include_tags(:jquery_ui => false) %>
<% content_for :head do %>
<%= stylesheet_link_tag 'refinerycms-blog' %>
- <%= javascript_include_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>
@@ -70,7 +71,8 @@
<% content_for :stylesheets, stylesheet_link_tag('refinerycms-blog') %>
<% content_for :before_javascript_libraries, jquery_include_tags(:jquery_ui => false) %>
<% content_for :javascripts do %>
- <%= javascript_include_tag 'refinerycms-blog' %>
+ <%# 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? %>