Skip to content

Commit

Permalink
cleaned up env and css livereload
Browse files Browse the repository at this point in the history
  • Loading branch information
Perry Kibler committed Jul 5, 2016
1 parent 9cc9bdb commit 3602466
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 3 deletions.
7 changes: 6 additions & 1 deletion config.rb
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,9 @@

# Reload the browser automatically whenever files change
configure :development do
activate :livereload
activate :livereload do |live|
live.livereload_css_target = "assets/stylesheets/all.css"
end
end

# pretty URLs
Expand All @@ -25,6 +27,9 @@
activate :contentful do |f|
f.space = { playground: 'sihh9h4tsjaz' }
f.access_token = ENV['CONTENTFUL_TOKEN']
if f.use_preview_api = 'true'
f.use_preview_api = ENV['PREVIEW_TOGGLE']
end
f.cda_query = { limit: 10000 }
f.content_types = {
blogPost: 'k5KOOOcoDKgAsUAOgaKMg'
Expand Down
File renamed without changes.
1 change: 0 additions & 1 deletion source/assets/stylesheets/pages/_contentful-sample.sass
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
section.contentful-sample
background-color: white
padding: 60px 0

article
Expand Down
2 changes: 1 addition & 1 deletion source/layouts/layout.slim
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ html
title= @title || 'Middleman'
link href='//fonts.googleapis.com/css?family=Lato:300,400' rel='stylesheet' type='text/css'

= stylesheet_link_tag :site
= stylesheet_link_tag :all
= javascript_include_tag :all

body class=page_classes
Expand Down

0 comments on commit 3602466

Please sign in to comment.