Getting started

Ben Giddings bg-hobix at infofiend.com
Wed Sep 22 18:28:18 EDT 2004


why the lucky stiff wrote:
> Good catch, thankyou.

Actually, I think someone else caught it earlier, but I'm just reporting 
I found the problems too.

> A: Well, if you want to create a sidebar using Textile + ERB (rather 
> than HTML + ERB), you can just add a `sidebar.html.redrum'.  Here's the 
> Redrum template used on Hobix.com:
> 
>  h2. *about
> 
>  <% about_entries.each do |about| %>
>  "<%= about.title.downcase %>":<%= about.link %><% end %>
> 
>  h2. *learn
>  <% learn_entries.each do |learn| %>
>  "<%= learn.title.downcase %>":<%= learn.link %><% end %>
> 
>  h2. *based<br />*on
> 
>  "ruby":http://poignantguide.net/ruby/
>  "yaml":http://yaml.kwiki.org/?YamlInFiveMinutes
>  "textile":/textile/
> 
>  h2. *i am
> 
>  "_why":http://whytheluckystiff.net/

Ok, and am I right that it wouldn't make sense to have an 
entries.html.redrum because textile doesn't do a full page properly 
(i.e. no way of doing the HTML tags, the HEAD tags, the TITLE tags, the 
META tags, etc.) but if you want to use it for subsections, that's where 
it could work properly?

Btw, by adding this line to my index.html.quick-summary:

css: "@import \"/log/site.css\";"

where /log/ is the path my blog is on, I ended up actually seeing the 
styled-up version of the blog.  The default is actually pretty nice, I 
just wasn't seeing it because it was trying to get /site.css which 
didn't exist.

Ben


More information about the Hobix-is-the-way mailing list