I have created a custom project template for Middleman. The documentation states that I should store templates in the ~/.middleman/ folder. This works fine on Mac, but where should I store the template on Windows 7?
I have tried putting it in a .middleman folder in the %UserProfile% directory. But when I run middleman init --help, the custom template is not displayed in the list of available templates.
I have resolved the issue. The home path was not what I expected. I ran
puts File.expand_path("~/")in Ruby to find out where Middleman expects the.middlemandirectory to be located.