Permalink
Browse files

+ middleman setup

  • Loading branch information...
1 parent b6706d1 commit 77592ba2a0ccdf725480262472f5df5f03217a11 @floere committed Jan 31, 2013
Showing with 363 additions and 259 deletions.
  1. +14 −0 .gitignore
  2. +6 −0 Gemfile
  3. +106 −0 Gemfile.lock
  4. +2 −1 README.textile
  5. +0 −95 basic.css
  6. +77 −0 config.rb
  7. +0 −1 hamlr
  8. +0 −69 index.haml
  9. +0 −92 index.html
  10. +0 −1 sassr
  11. BIN { → source/images}/favico.ico
  12. +77 −0 source/index.html.haml
  13. +61 −0 source/index.html.textile
  14. +18 −0 source/layouts/layout.html.haml
  15. +2 −0 { → source/stylesheets}/basic.sass
View
@@ -0,0 +1,14 @@
+# See http://help.github.com/ignore-files/ for more about ignoring files.
+#
+# If you find yourself ignoring temporary files generated by your text editor
+# or operating system, you probably want to add a global ignore instead:
+# git config --global core.excludesfile ~/.gitignore_global
+
+# Ignore bundler config
+/.bundle
+
+# Ignore the build directory
+/build
+
+# Ignore Sass' cache
+/.sass-cache
View
@@ -0,0 +1,6 @@
+source :rubygems
+
+gem "middleman", "~>3.0.6"
+
+gem 'haml'
+gem 'RedCloth'
View
@@ -0,0 +1,106 @@
+GEM
+ remote: http://rubygems.org/
+ specs:
+ RedCloth (4.2.9)
+ activesupport (3.2.11)
+ i18n (~> 0.6)
+ multi_json (~> 1.0)
+ chunky_png (1.2.7)
+ coffee-script (2.2.0)
+ coffee-script-source
+ execjs
+ coffee-script-source (1.3.3)
+ compass (0.12.2)
+ chunky_png (~> 1.2)
+ fssm (>= 0.2.7)
+ sass (~> 3.1)
+ execjs (1.4.0)
+ multi_json (~> 1.0)
+ ffi (1.3.1)
+ fssm (0.2.10)
+ haml (3.1.7)
+ hike (1.2.1)
+ http_router (0.10.2)
+ rack (>= 1.0.0)
+ url_mount (~> 0.2.1)
+ i18n (0.6.1)
+ listen (0.5.3)
+ maruku (0.6.1)
+ syntax (>= 1.0.0)
+ middleman (3.0.11)
+ middleman-core (= 3.0.11)
+ middleman-more (= 3.0.11)
+ middleman-sprockets (~> 3.0.6)
+ middleman-core (3.0.11)
+ activesupport (~> 3.2.6)
+ bundler (~> 1.1)
+ listen (~> 0.5.2)
+ rack (~> 1.4.1)
+ rack-test (~> 0.6.1)
+ rb-fsevent (~> 0.9.1)
+ rb-inotify (~> 0.8.8)
+ thor (~> 0.15.4)
+ tilt (~> 1.3.1)
+ middleman-more (3.0.11)
+ coffee-script (~> 2.2.0)
+ coffee-script-source (~> 1.3.3)
+ compass (>= 0.12.2)
+ execjs (~> 1.4.0)
+ haml (>= 3.1.6)
+ i18n (~> 0.6.0)
+ maruku (~> 0.6.0)
+ middleman-core (= 3.0.11)
+ padrino-helpers (= 0.10.7)
+ sass (>= 3.1.20)
+ uglifier (~> 1.2.6)
+ middleman-sprockets (3.0.6)
+ middleman-more (>= 3.0.1)
+ sprockets (~> 2.1, < 2.5)
+ sprockets-sass (~> 0.9.0)
+ multi_json (1.5.0)
+ padrino-core (0.10.7)
+ activesupport (~> 3.2.0)
+ http_router (~> 0.10.2)
+ sinatra (~> 1.3.1)
+ thor (~> 0.15.2)
+ tilt (~> 1.3.0)
+ padrino-helpers (0.10.7)
+ i18n (~> 0.6)
+ padrino-core (= 0.10.7)
+ rack (1.4.4)
+ rack-protection (1.3.2)
+ rack
+ rack-test (0.6.2)
+ rack (>= 1.0)
+ rb-fsevent (0.9.3)
+ rb-inotify (0.8.8)
+ ffi (>= 0.5.0)
+ sass (3.2.5)
+ sinatra (1.3.4)
+ rack (~> 1.4)
+ rack-protection (~> 1.3)
+ tilt (~> 1.3, >= 1.3.3)
+ sprockets (2.4.5)
+ hike (~> 1.2)
+ multi_json (~> 1.0)
+ rack (~> 1.0)
+ tilt (~> 1.1, != 1.3.0)
+ sprockets-sass (0.9.1)
+ sprockets (~> 2.0)
+ tilt (~> 1.1)
+ syntax (1.0.0)
+ thor (0.15.4)
+ tilt (1.3.3)
+ uglifier (1.2.7)
+ execjs (>= 0.3.0)
+ multi_json (~> 1.3)
+ url_mount (0.2.1)
+ rack
+
+PLATFORMS
+ ruby
+
+DEPENDENCIES
+ RedCloth
+ haml
+ middleman (~> 3.0.6)
View
@@ -1 +1,2 @@
-Github website: http://floere.github.com
+http://floere.github.com
+http://florianhanke.com
View
@@ -1,95 +0,0 @@
-html, body, div, span, applet, object, iframe,
-h1, h2, h3, h4, h5, h6, p, blockquote, pre,
-a, abbr, acronym, address, big, cite, code,
-del, dfn, em, font, img, ins, kbd, q, s, samp,
-small, strike, strong, sub, sup, tt, var,
-b, u, i, center,
-dl, dt, dd, ol, ul, li,
-fieldset, form, label, legend,
-table, caption, tbody, tfoot, thead, tr, th, td {
- margin: 0;
- padding: 0;
- border: 0;
- outline: 0;
- font-size: 100%;
- vertical-align: baseline;
- background: transparent; }
-
-body {
- line-height: 1; }
-
-ol, ul {
- list-style: none; }
-
-blockquote, q {
- quotes: none; }
-
-blockquote:before, blockquote:after,
-q:before, q:after {
- content: '';
- content: none; }
-
-body {
- width: 600px;
- margin: 1em auto;
- font-family: Verdana, Arial, sans-serif;
- line-height: 1.4; }
-
-h1, h2, h3, h4 {
- font-family: Futura,"Century Gothic","URW Gothic L",Helvetica,sans-serif;
- font-weight: normal;
- border-bottom: 1px solid #777777; }
-
-h2, h3, h4, p {
- margin-top: 1em; }
-
-ul, ol {
- margin-top: 0.5em; }
-
-h1 {
- font-size: 2em; }
-
-h2 {
- font-size: 1.5em; }
-
-h3 {
- font-size: 1.2em; }
-
-h4 {
- font-size: 1.1em; }
-
-a {
- color: #224466;
- text-decoration: none;
- border-bottom: 1px solid; }
-
-h1 a, h2 a, h3 a, h4 a {
- border-bottom: none; }
-
-a:visited {
- color: #555666; }
-
-a:hover,
-a:focus {
- color: #224466;
- background-color: #E4F2FF; }
-
-a:active {
- color: #224466; }
-
-pre {
- background-color: #EEEEEE; }
-
-img {
- float: left;
- margin: 0px 20px 0px 0px; }
-
-ol.nav {
- height: 1.5em;
- color: #ccc; }
- ol.nav li {
- float: left;
- padding-right: 0.4em; }
-
-div.clear {
- clear: both; }
View
@@ -0,0 +1,77 @@
+###
+# Compass
+###
+
+# Susy grids in Compass
+# First: gem install susy --pre
+# require 'susy'
+
+# Change Compass configuration
+# compass_config do |config|
+# config.output_style = :compact
+# end
+
+###
+# Page options, layouts, aliases and proxies
+###
+
+# 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 :default do
+# page "*"
+# 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
+###
+
+# Automatic image dimensions on image_tag helper
+# activate :automatic_image_sizes
+
+# Methods defined in the helpers block are available in templates
+# helpers do
+# def some_helper
+# "Helping"
+# end
+# end
+
+set :css_dir, 'stylesheets'
+
+set :js_dir, 'javascripts'
+
+set :images_dir, 'images'
+
+# 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
View
@@ -1 +0,0 @@
-haml index.haml index.html
View
@@ -1,69 +0,0 @@
-!!!
-%html{ :xmlns => "http://www.w3.org/1999/xhtml", :'xml:lang' => "en", :lang => "en" }
- %head
- %meta{ :'http-equiv' => "Content-type", :content => "text/html; charset=utf-8" }
- %link{ :rel => 'shortcut icon', :href => 'favico.ico' }
- %link{ :rel => 'stylesheet', :href => 'basic.css', :type => 'text/css' }
- %title Florian Hanke
- :javascript
- var _gaq = _gaq || [];
- _gaq.push(['_setAccount', 'UA-20991642-1']);
- _gaq.push(['_trackPageview']);
-
- (function() {
- var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
- ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
- var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
- })();
- %body
- %ol.nav
- %li
- %a{ :href => '/' } home
- •
- %li
- %a{ :href => '/blog' } blog
- •
- %li
- %a{ :href => '/picky' } picky
- •
- %li
- %a{ :href => '/phony' } phony
- •
- %li
- %a{ :href => '/view_models' } view models
- %h1 Florian «Flöre» Hanke
- %div
- %img{ :src => 'http://www.gravatar.com/avatar/de2d64478e715fb02266f77a3f5641f6?size=120' }
- %p Me in three words:
- %p Lover. Fighter. Computer Scientist.
- %p Biker. Book Devourer. Language aficionado. Film enthusiast. Electronics hobbyist. Runner. Penciller. Speaker. Listener. Thinker. Seeker and Finder. Eat. Sleep. Ponies.
- %p Amount of large calibre handguns in his possession: 0
- %h2 Projects
- %h3 Code
- %ol
- %li
- %a{ :href => 'http://floere.github.com/picky' } Picky
- Really easy to use and fast Ruby semantic search engine that helps your users find what they are looking for.
- %li
- %a{ :href => 'http://floere.github.com/phony' } Phony
- Normalize, split, format all phone numbers of the world.
- %li
- %a{ :href => 'http://floere.github.com/view_models' } View Models
- The glue between M, V, and C in Ruby on Rails / Padrino.
- %li
- %a{ :href => "http://github.com/floere/contexts" } Contexts
- For easy to use Sidebars/Carts/Navigations in Ruby on Rails.
- %h3 Others
- %p Many. But the code projects are most important right now.
- %h2 The talking tubes
- %p
- %ol
- %li
- %a{ :href => "/blog" } Blog
- Quick blasts from the code side.
- %li
- %a{ :href => "http://twitter.com/hanke" } @hanke
- Messages from the void, compressed in 140 very small pieces.
- %li
- %a{ :href => "http://florianhanke.blogspot.com" } Blag
- Letting the keyboard roam free. Warning: In the germanic tongue. Babylonic to some, revealing to others.
Oops, something went wrong.

0 comments on commit 77592ba

Please sign in to comment.