middleman Questions

6

Solved

I need an easy way to generate static web pages so that I can serve them up with Apache or Nginx. Currently I am using SproutCore's build tool (Abbot) to generate static pages but that is a little ...
Cubital asked 20/8, 2011 at 11:34

2

Solved

Is it possible to retrieve the current path of a page in a middleman file? For instance, if I have a layout file layout.erb with something like the following: <%= page.path %> <%= yield %...
Decurion asked 21/5, 2012 at 7:21

3

Solved

In the layout file of haml I would like to determine whether we are in our development and build environments. We're using Middleman. I would like to do something like this: - if environment == '...
Sigil asked 9/12, 2012 at 10:12

0

I'm a big fan of static site generators like Middleman and Jekyll. Generating a complete blog from flat files and throwing them on Amazon S3 without having to worry about database-related per...
Mindoro asked 29/9, 2012 at 16:0

2

Solved

When building a static HTML site, you can set the base url like so <base url="http://localhost:8888/mysite" />. Supposedly when you insert, say, an image, you can do so from that base url lik...
Azotize asked 18/4, 2012 at 4:9

1

Solved

I'm trying to get my meta description to work in HAML and everything I try produces errors. %meta{:name => "description", :content => "Some content"}/ %title = data.page.title The code a...
Samaveda asked 4/2, 2012 at 19:23

© 2022 - 2024 — McMap. All rights reserved.