Hi everyone,
I want to create a custom menu with images as links. It works fine that way:
src/index.page
src/contact.page
src/services.page
Within each page-element I set the metainfo like that, e.g. for contact.page:
<pre>
---
title: Contact
link_attrs:
class: menu_image_contact
:link_text: ""
---
Contact me by email...
</pre>
The stylesheet then sets the image. That works fine until I add a directory.
/products/index.page
/products/vaporware.page
Within /products/index.page I'll set:
<pre>
---
title: Products
link_attrs:
class: menu_image_products
:link_text: ""
---
Productlist
</pre>
At least the title will be pulled out of the directory index file, but furhter metainfo like "link_attrs" is ignore, so I end up with a plain text link. It seems like I have no way of controlling how a menu item for directories is generated.
Is there any way of creating real custom menus? I don't find any documentation for 0.5.14 that shows how it's done.
Cheers,
mrsni
|