Using StaticMatic for static pages

Posted Almost 13 years ago. Visible to the public.

Update: Staticmatic will not be further developed Show archive.org snapshot . They suggest to switch to middleman Show archive.org snapshot .


If you need to make a static web page and find yourself missing all your Rails comforts, take a look at StaticMatic Show archive.org snapshot .

This works like an extremely stripped down version of Rails, giving you

  • HAML
  • SASS
  • helpers
  • partials

When done, everything is simply compiled to static HTML and CSS, so no need to install anything on your server.

If you receive an error launching the preview server (getaddrinfo: Name or service not known (SocketError)), just put this into the config/site.rb:

configuration.preview_server_host = "localhost"
Tobias Kraze
Last edit
Over 11 years ago
License
Source code in this card is licensed under the MIT License.
Posted by Tobias Kraze to makandra dev (2011-06-01 12:04)