diff --git a/app/views/blog/2017-2-2-Basic-instructions-for-writing-blogs.haml b/app/views/blog/2017-2-2-Basic-instructions-for-writing-blogs.haml new file mode 100644 index 0000000..bdcd32a --- /dev/null +++ b/app/views/blog/2017-2-2-Basic-instructions-for-writing-blogs.haml @@ -0,0 +1,9 @@ +%p + some text that will be the short summary at the beggining. + Remembering that the file name becomes the title (h1) + +%h2 Sub Headings should start with 2 + +%p + They have more text possibly with links + = ext_link "Github" , "http://github.com/" diff --git a/config/application.rb b/config/application.rb index b113b82..9804576 100644 --- a/config/application.rb +++ b/config/application.rb @@ -26,7 +26,7 @@ module WebDevSite config.assets.paths << Gem.loaded_specs['susy'].full_gem_path+'/sass' - config.blog_path = Rails.root.to_s + "/app/blog" + config.blog_path = Rails.root.to_s + "/app/views/blog" # Settings in config/environments/* take precedence over those specified here. # Application configuration should go into files in config/initializers diff --git a/app/blog/2017-2-2-title.md b/spec/blog/2017-2-2-Basic-instructions-for-writing-blogs.haml similarity index 100% rename from app/blog/2017-2-2-title.md rename to spec/blog/2017-2-2-Basic-instructions-for-writing-blogs.haml diff --git a/spec/blog/2017-2-2-title.md b/spec/blog/2017-2-2-title.md deleted file mode 100644 index 950d25f..0000000 --- a/spec/blog/2017-2-2-title.md +++ /dev/null @@ -1,5 +0,0 @@ -## Title - -### Subtitle - -And some text about Bitcoin