middleman Questions

3

Solved

I'm new to Middleman and ruby in general. I've installed Ruby I've installed Middleman and the gems to get it running. I need to use slim instead of the default template system. So I installed t...
Suasion asked 25/3, 2013 at 23:40

2

I just got a job and my first task is to create a documentation of our current code. I would really appreciate it if someone could help me. I'm got this error setting up the code for the documentat...
Birdiebirdlike asked 16/7, 2020 at 9:58

2

Trying to just get started building a site with Middleman, and I'm following the tutorial to a t, but when I start the server I always get "Unknown Extension: livereload" I already have group :d...
Caucasoid asked 16/2, 2015 at 12:50

2

I am using middleman-blog and middleman-deploy. What I would like to do, is within the branch I am deploying to, I want the static files to be deployed to a subfolder within the repo (i.e. not the...
Harelda asked 27/8, 2016 at 3:22

1

Solved

I've got an easy one for you guys. I want to have a featured content section where the current article is EXCLUDED So this works using Middleman Blog with delete_if: <% blog(content).articles...
Northwester asked 19/4, 2017 at 23:13

1

I want to use Middleman with wonderful Foundation 6. Here is a repo I've found on Middleman's website. I have Middleman installed as well as Xcode developers tools. When I run middleman init -T ja...
Rocketeer asked 9/8, 2016 at 15:38

1

Solved

How can helpers be accessed from middleman console? Answer for both 3.x and 4.x would be helpful if it's not the same object path.
Electorate asked 9/2, 2017 at 18:46

2

Solved

I'm just getting used to Middleman and Ruby in general. What's the best way to generate a navigation with active states?
Propagable asked 19/3, 2012 at 22:36

2

I want to start a middleman with command middleman server and when I do I get an error: dyld: lazy symbol binding failed: Symbol not found: _clock_gettime Referenced from: /usr/local/lib/ruby/gem...
Tarpan asked 17/9, 2016 at 8:38

3

Solved

How do I import a .scss.erb file in Middleman 4? I just upgraded from Middleman 3 to 4. I think this is my last issue... I have an all.css.scss file that looks like this: @charset "utf-8"; @imp...
Teeth asked 20/3, 2016 at 13:29

1

Solved

I've been using Middleman for a while and it always used the Rails asset pipeline for including javascript and css. So to include a javascript module called "thing.js" in the same directory, you'd ...
Levania asked 10/2, 2016 at 11:30

1

Solved

Using Middleman on GitHub Pages with directory_indexes enabled, I wonder if I can somehow get rid of the trailing slash GitHub adds. My urls are basically: /foo-bar -> /foo-bar/index.html. Vis...
Burnside asked 21/10, 2015 at 22:54

2

I've been using Ruby on Rails since a little more than one year now and I've always do it in a casual way, I mean, everything in one place (front & back), using the standard .html.erb file popu...
Boehmite asked 10/10, 2015 at 8:1

1

I have some Haml partials, many of which contain the boilerplate .container .row .col-lg-12 When I try to abstract that out ala = partial "site_section", I get: syntax error, unexpected keywor...
Wellbred asked 20/4, 2015 at 16:2

1

I am hosting a static website generated with Middleman on CloudFront and S3. I want to add multiple language support and middleman allows me to localize the content and have the english version at ...
Accusative asked 7/4, 2014 at 8:35

1

Solved

I would like to know how to use middleman console. Is it a simple irb? What can I do with it that differs from the simple irb? middleman console [options] # Start an interactive console in the co...
Uird asked 2/10, 2014 at 14:34

1

Solved

I am using this middleman project and trying to run the bower install and get the following... bower not-cached git://github.com/jquery/jquery.git#~2.0 bower resolve git://github.com/jquery/jquery...
Pardoes asked 1/4, 2014 at 13:33

2

Solved

When I just run middleman to serve, all.css gets compiled fine, consisting of just a call to +box-shadow(none): /* line 1, /home/yang/asdf/source/stylesheets/content.css.sass */ div { -webkit-box...
Congenial asked 19/4, 2013 at 0:36

5

Solved

I'm using the Middleman Blog gem for my site, but by default it appears the blog articles need to be located in /source which isn't particularly nice when looking at the tree in vim and trying to l...
Alby asked 14/1, 2013 at 12:9

2

Solved

How can I run custom action (eg. copy file to build folder) after middleman built pages? I want to put Readme.md file from source to build dir.
Imeldaimelida asked 26/5, 2014 at 23:42

2

Solved

I want to do the following if build? assetPath = "//cdn.domain.com/assets" else assetPath = "assets" end trying all combinations and reading everywhere but simply stumped at the moment ruby a...
Delft asked 2/7, 2013 at 19:21

1

Solved

So, this is my first middleman project and I'm struggling with how middleman manages links. As it is, I've set it up on a github page. All my assets are working, so I got that right, but the path...
Albright asked 2/5, 2014 at 18:32

3

Solved

I'm putting together a simple portfolio site in middleman. I'm generate the 'work' pages dynamically based on local YAML data. This is in the config.rb: data.work.projects.each do |project| page ...
Delmore asked 1/10, 2012 at 10:46

1

Solved

Currently, I have my all.js file with this: //= require jquery //= require jquery.nicescroll.min //= require bootstrap.min $(document).ready(function() { $('.carousel').carousel(); $('html').ni...
Photodynamics asked 14/11, 2013 at 6:13

4

Solved

I'm trying to create a static site using Middleman. The git repo master has the source files. The static files are generated in the build folder which is in .gitignore. I have a branch gh-pages for...
Allsun asked 4/8, 2012 at 13:53

© 2022 - 2024 — McMap. All rights reserved.