webby

Setting Attributes in Webby Layouts

I'm working with Webby and am looking for some clarification. Can I define attributes like title or author in my layout? ...

Installing Webby on Ubuntu

I'm trying to install webby on Ubuntu ubuntu-8.10. So far I have installed Ruby 1.8, and RedCloth for Ruby 1.8. When I tried to install webby (using gem) I received the error: Error installing webby: webby requires hpricot (= 0.6.0, runtime) So naturally I tried to install hpricot: sudo gem install hpricot --version=0.6.0 But t...

Page displays true after running command: 'webby'

So, I'm running though the webby tutorial and I get to the part where you run the webby command for the first time to generate the website in the /output directory. I do that, and next I'm told to open output/index.html. I do so, and the only thing that displays is: true I view the source...and all that is displayed is true Th...

How to include metadata in a template file?

I have a system that filters template files through erb. Using convention over configuration, the output files get created in a file hierarchy that mirrors the input files. Many of the files have the same names, and I was able to use the directories to differentiate them. That plan worked until I needed to associate additional info wi...

Using the basepath filter to re-write URLs in Webby?

Basepath Filter Rewriting? I'm trying to use the basepath filter in webby to rewrite all of the URLs in my project. The documentation on the basepath filter for Webby is a little bit "light" concerning this, and there just simply isn't enough of it that I can understand how to use it. If I find the solution to this, however I plan to ...

When using Webby/Compass Integration what directory do the *.sass files go in?

I just setup Webby/Compass integration. (http://wiki.github.com/chriseppstein/compass/webby-integration) Where do I put my Compass/Sass source files, and in what directory do they get output as stylesheets? ...

Using blueprint.sass in Webby/Compass Integration

I'm following an article here: http://gom-jabbar.org/articles/2009/02/04/don-t-use-css-or-table-layout-use-sass-ad-compass more specifically the section entitled "Concrete Example of using Compass and Sass for creating a layout that people generally use tables for" The example references @import blueprint.sass Where is this file loc...

Webby-Compass Integration - equivelent config.rb file?

In the Compass screencast at 23:08 Chris Eppstein starts editing a file called config.rb, in his pure Compass project. Chris uses this file to configure relative path names in his images using the *img_url()* function (which must be undocumented as I can't find anything about it, in the mailing list or on the website.). I'm working on ...

Changing the output directory of the resulting CSS file in Compass/Webby?

I want my resulting *.css file to land in the output/css directory instead of the stylesheets directory. How would I go about doing this? I've already tried: Compass.configuration do |config| config.project_path = File.dirname(__FILE__) config.sass_dir = File.join('src','stylesheets') config.css_dir = 'css' config.output_style...

Automatically render changed partials in webby

I have a webby page and I'm have a layout that all my pages are rendered to. That layout uses a partial for navigation (in HAML): = render(:partial => "navigation", :locals => {:some => "stuff"} ) The problem is that when I change the _navigation partial, neither webby nor webby autobuild recognize the change and they don't re-render ...

Multi-lingual website and webby

Hi, Anyone know how to best implement a multilingual static site using webby? I would put content for the multiple languages in content/{lang}/{page}.txt for starters, any ideas on the rest? I've never used webby. Thanks, Max. ...

Generating a static website from a set of content data (possibly with webgen, webby or a similar toolkit)

My company (an engineering firm) is looking to redesign their website with some dynamic content. We have a nice portfolio of projects that we'd like to present on our site by category. To elaborate, I'd like to have a "Projects Category" menu, where you can choose a sub-project category (such as churches, schools, etc) which links to a...