On Sun, 2006-09-03 at 22:33 +0200, Paul van Tilburg wrote:
> 1) The tags plugin creates odd links and uses weblog.link which doesn't
>    work well if you're staging the blog locally first.
>    A small patch to resolve this:
> 
> --------
> --- lib/hobix/plugin/tags.rb    (revision 135)
> +++ lib/hobix/plugin/tags.rb    (working copy)
> @@ -38,7 +38,7 @@
>          <ul>
>          <% tags_list(weblog.storage.find).sort.each do |name, count| %>
>            <li>
> -            <a href="<%= weblog.link %>/tags/<%=name%>/index.html"><%= name
> +            <a href="<%= weblog.expand_path( "/tags/#{ name }/" )
> %>"><%= name
>              %></a>:&nbsp;<%=count%>
>            </li>
>          <% end %>

Applied.

-mental

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
Hobix-is-the-way mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/hobix-is-the-way

Reply via email to