Skip to content

Commit

Permalink
First pass, hung up on Middleman bug. Beer me.
Browse files Browse the repository at this point in the history
  • Loading branch information
leehambley committed May 22, 2012
1 parent 8c6b582 commit 1954c9c
Show file tree
Hide file tree
Showing 20 changed files with 5,787 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
_site/
.DS_Store
.sass-cache
9 changes: 9 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# A sample Gemfile
source "https://rubygems.org"

gem "middleman"
gem "middleman-blog"
gem "rb-fsevent"
gem "haml"
gem "redcarpet"

113 changes: 113 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,113 @@
GEM
remote: https://rubygems.org/
specs:
activesupport (3.2.3)
i18n (~> 0.6)
multi_json (~> 1.0)
addressable (2.2.8)
chunky_png (1.2.5)
coffee-script (2.2.0)
coffee-script-source
execjs
coffee-script-source (1.3.3)
compass (0.12.1)
chunky_png (~> 1.2)
fssm (>= 0.2.7)
sass (~> 3.1)
daemons (1.1.8)
em-websocket (0.3.6)
addressable (>= 2.1.1)
eventmachine (>= 0.12.9)
eventmachine (0.12.10)
execjs (1.2.13)
multi_json (~> 1.0)
fssm (0.2.9)
guard (0.6.3)
thor (~> 0.14.6)
guard-livereload (0.3.1)
em-websocket (>= 0.2.0)
guard (>= 0.4.0)
multi_json (~> 1.0.3)
haml (3.1.6)
hike (1.2.1)
http_router (0.10.2)
rack (>= 1.0.0)
url_mount (~> 0.2.1)
i18n (0.6.0)
maruku (0.6.0)
syntax (>= 1.0.0)
middleman (2.0.15.3)
coffee-script (~> 2.2.0)
compass (~> 0.11)
execjs (~> 1.2.7)
guard (~> 0.6.2)
haml (~> 3.1.0)
maruku (~> 0.6.0)
middleman-livereload (~> 0.2.0)
padrino-core (~> 0.10.5)
padrino-helpers (~> 0.10.5)
rack (~> 1.3.5)
rack-test (~> 0.6.1)
sass (>= 3.1.7)
sinatra (~> 1.3.1)
slim (~> 1.0.2)
sprockets (~> 2.0.3)
thin (~> 1.2.11)
thor (~> 0.14.0)
tilt (~> 1.3.1)
uglifier (~> 1.2)
middleman-blog (0.1.5)
middleman-livereload (0.2.1)
guard-livereload (~> 0.3.1)
multi_json (1.0.4)
padrino-core (0.10.6)
activesupport (~> 3.2.0)
http_router (~> 0.10.2)
sinatra (~> 1.3.1)
thor (~> 0.14.3)
tilt (~> 1.3.0)
padrino-helpers (0.10.6)
i18n (~> 0.6)
padrino-core (= 0.10.6)
rack (1.3.6)
rack-protection (1.2.0)
rack
rack-test (0.6.1)
rack (>= 1.0)
rb-fsevent (0.9.1)
redcarpet (2.1.0)
sass (3.1.18)
sinatra (1.3.2)
rack (~> 1.3, >= 1.3.6)
rack-protection (~> 1.2)
tilt (~> 1.3, >= 1.3.3)
slim (1.0.4)
temple (~> 0.3.4)
tilt (~> 1.3.2)
sprockets (2.0.4)
hike (~> 1.2)
rack (~> 1.0)
tilt (~> 1.1, != 1.3.0)
syntax (1.0.0)
temple (0.3.5)
thin (1.2.11)
daemons (>= 1.0.9)
eventmachine (>= 0.12.6)
rack (>= 1.0.0)
thor (0.14.6)
tilt (1.3.3)
uglifier (1.2.4)
execjs (>= 0.3.0)
multi_json (>= 1.0.2)
url_mount (0.2.1)
rack

PLATFORMS
ruby

DEPENDENCIES
haml
middleman
middleman-blog
rb-fsevent
redcarpet
112 changes: 112 additions & 0 deletions config.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,112 @@
require 'redcarpet'

###
# MOAR Blogging
###
activate :blog
set :blog_permalink, 'blog/:year/:month/:day/:title.html'

###
# Blog & Markdown should use the regular layout
###
set :blog_layout_engine, 'haml'
set :markdown, layout_engine: :haml

###
# GitHib flavoured Markdown, I can't go back!
###
set :markdown_engine, :redcarpet
set :redcarpet, fenced_code_blocks: true, autolink: true

###
# Compass
###

# Susy grids in Compass
# First: gem install compass-susy-plugin
# require 'susy'

# Change Compass configuration
# compass_config do |config|
# config.output_style = :compact
# end

###
# Haml
###

# CodeRay syntax highlighting in Haml
# First: gem install haml-coderay
# require 'haml-coderay'

# CoffeeScript filters in Haml
# First: gem install coffee-filter
# require 'coffee-filter'

# Automatic image dimensions on image_tag helper
# activate :automatic_image_sizes

###
# Page command
###

# Per-page layout changes:
#
# With no layout
# page "/path/to/file.html", :layout => false
#
# With alternative layout
# page "/path/to/file.html", :layout => :otherlayout
#
# A path which all have the same layout
# with_layout :admin do
# page "/admin/*"
# end

# Proxy (fake) files
# page "/this-page-has-no-template.html", :proxy => "/template-file.html" do
# @which_fake_page = "Rendering a fake page with a variable"
# end

###
# Helpers
###

# Methods defined in the helpers block are available in templates
# helpers do
# def some_helper
# "Helping"
# end
# end

# Change the CSS directory
# set :css_dir, "alternative_css_directory"

# Change the JS directory
# set :js_dir, "alternative_js_directory"

# Change the images directory
# set :images_dir, "alternative_image_directory"

# Build-specific configuration
configure :build do
# For example, change the Compass output style for deployment
# activate :minify_css

# Minify Javascript on build
# activate :minify_javascript

# Enable cache buster
# activate :cache_buster

# Use relative URLs
# activate :relative_assets

# Compress PNGs after build
# First: gem install middleman-smusher
# require "middleman-smusher"
# activate :smusher

# Or use a different image path
# set :http_path, "/Content/images/"
end
Loading

0 comments on commit 1954c9c

Please sign in to comment.