diff --git a/lib/fraisier/layout.html b/lib/fraisier/layout.html index e8a8531e9..f10b71d6f 100644 --- a/lib/fraisier/layout.html +++ b/lib/fraisier/layout.html @@ -10,6 +10,8 @@ + + @@ -24,11 +26,25 @@
+
+
+ + + diff --git a/lib/tasks/dev.rake b/lib/tasks/dev.rake index 0ccb41771..4603c2a20 100644 --- a/lib/tasks/dev.rake +++ b/lib/tasks/dev.rake @@ -116,6 +116,11 @@ namespace :dev do home = Page.create!( :i18n_variable_id => var_10.id, :design_id => design_1.id, :name => 'home', :is_published => true, :theme_id => theme.id ) home.page_parts.create!( :name => 'content_1', :content => File.open("#{Rails.root}/lib/template/home.page").read, :kind => 'text', :i18n_variable_id => var_13.id ) + + Post.create(:title=>"1st post",:body=>"Long long time ago.....") + Post.create(:title=>"2ec post",:body=>"And?.....") + + end diff --git "a/vendor/plugins/NewBlog/\\" "b/vendor/plugins/NewBlog/\\" deleted file mode 100644 index 1d1e477e1..000000000 --- "a/vendor/plugins/NewBlog/\\" +++ /dev/null @@ -1,10 +0,0 @@ -Rails.application.routes.draw do - - namespace :panel do - namespace :blog do - resources :posts - resources :comments - end - end - -end diff --git a/vendor/plugins/NewBlog/app/views/layouts/production.html.erb b/vendor/plugins/NewBlog/app/views/layouts/production.html.erb index dbc98e7aa..e67004715 100644 --- a/vendor/plugins/NewBlog/app/views/layouts/production.html.erb +++ b/vendor/plugins/NewBlog/app/views/layouts/production.html.erb @@ -1,4 +1,4 @@ <%= stylesheet_link_tag "production"%> -
+
<%= yield %>
diff --git a/vendor/plugins/NewBlog/app/views/panel/blog/posts/widget_latest_post.html.erb b/vendor/plugins/NewBlog/app/views/panel/blog/posts/widget_latest_post.html.erb index 394337742..d90eb1523 100644 --- a/vendor/plugins/NewBlog/app/views/panel/blog/posts/widget_latest_post.html.erb +++ b/vendor/plugins/NewBlog/app/views/panel/blog/posts/widget_latest_post.html.erb @@ -1,5 +1,5 @@ <%=stylesheet_link_tag "NewBlog/application"%> -

<%= @post.title %>

+

<%= @post.title %>

<%= @post.body %>