[webgen-users] Short menu item, long title
pstibrany at gmail.com
Sun Aug 31 15:36:35 EDT 2008
Thank you, Thomas. When I use this snippet it works fine. I used exact
same syntax before, and it didn't work, but I was probably doing
I'll use your solution. Thanks.
On Sun, Aug 31, 2008 at 8:58 PM, Thomas Leitner <t_leitner at gmx.at> wrote:
> Am Sun, 31 Aug 2008 19:13:02 +0200
> schrieb "Peter Stibrany" <pstibrany at gmail.com>:
>> thank you for response. I was not able to get link_attrs working in
>> webgen 0.5.3. I tried various syntax variations, but with no luck.
>> But I solved my problem in other way. I simply added "htmltitle"
>> metadata into my page:
>> title: Short link title for menu
>> htmltitle: Some long title used in HTML header
>> and I use following snippet in my default.template:
>> <% if node.meta_info.has_key?("htmltitle") %>
>> <% else %>
>> <% end %>
> Have a look at http://pastie.org/263598 . This shows a page file
> that uses the link_attrs meta information.
> -- Thomas
> webgen-users mailing list
> webgen-users at rubyforge.org
More information about the webgen-users