diff options
Diffstat (limited to 'app')
-rw-r--r-- | app/views/admin/blog/_submenu.html.erb | 4 | ||||
-rw-r--r-- | app/views/admin/blog/comments/show.html.erb | 2 | ||||
-rw-r--r-- | app/views/blog/posts/show.html.erb | 4 |
3 files changed, 6 insertions, 4 deletions
diff --git a/app/views/admin/blog/_submenu.html.erb b/app/views/admin/blog/_submenu.html.erb index 5c93891..c7da051 100644 --- a/app/views/admin/blog/_submenu.html.erb +++ b/app/views/admin/blog/_submenu.html.erb @@ -80,5 +80,7 @@ </nav> <% content_for :head do %> <%= stylesheet_link_tag 'refinery/refinerycms-blog' %> +<% end %> +<% content_for :javascripts do %> <%= javascript_include_tag 'refinery/refinerycms-blog' %> -<% end %>
\ No newline at end of file +<% end %> diff --git a/app/views/admin/blog/comments/show.html.erb b/app/views/admin/blog/comments/show.html.erb index 1cc29bb..21cb405 100644 --- a/app/views/admin/blog/comments/show.html.erb +++ b/app/views/admin/blog/comments/show.html.erb @@ -60,4 +60,4 @@ </table> </div> -<% content_for :head, stylesheet_link_tag('refinery/refinerycms-blog') %>
\ No newline at end of file +<% content_for :head, stylesheet_link_tag('refinery/refinerycms-blog') %> diff --git a/app/views/blog/posts/show.html.erb b/app/views/blog/posts/show.html.erb index f8d4b35..d959956 100644 --- a/app/views/blog/posts/show.html.erb +++ b/app/views/blog/posts/show.html.erb @@ -1,4 +1,4 @@ -<% content_for :head do %> +<% content_for :javascripts do %> <% if BlogPost::ShareThis.enabled? %> <script src="http://w.sharethis.com/button/buttons.js"></script> <script> @@ -92,4 +92,4 @@ <% end %> <%= render :partial => "/shared/content_page", :locals => { :remove_automatic_sections => true } %> -<% content_for :head, stylesheet_link_tag('refinerycms-blog') %>
\ No newline at end of file +<% content_for :head, stylesheet_link_tag('refinerycms-blog') %> |