-
-
Notifications
You must be signed in to change notification settings - Fork 5
Description
I have two blocks, one in the blocks directory of my theme called blocks/topop.block:
name: To top
description: Add a "to top" floater
icon: icon-file-image-o
tags: ["pages"]
==
<a href="" uk-totop></a>
As I would like to implement some sort of versioning of my blocks, I have added another block in blocks/V00/topop.block
name: DEPRECATED To top
description: Add a "to top" floater
icon: icon-file-image-o
tags: ["pages"]
==
<a href="" uk-totop></a>
The plugin finds the two blocks and lists them when I want to add them, however, both of them now list as DEPRECATED To top.
Was it actually foreseen to have subdirectories (at least I can have them in subdirectories as long as they do not have the same file name)? And if so, shouldn't I be able to have the same file system name for a block in the individual subdirectories? This would be very handy to implement a basic versioning of blocks.
If it is foreseen, it would be great if the list if blocks is grouped by subdirectory when displayed for selection. And if a default directory could be specified that lists all blocks in that directory at the top of the selection list.