better syntax for directory metadata
This commit is contained in:
parent
20bacee5e0
commit
19faebd962
1 changed files with 2 additions and 2 deletions
|
@ -72,9 +72,9 @@ metadata is derived, at least year=yyyy and probably also month, etc.
|
||||||
|
|
||||||
TODO From the original filename used in the master branch, when
|
TODO From the original filename used in the master branch, when
|
||||||
constructing a view, generate fields. For example foo/bar/baz.mp3
|
constructing a view, generate fields. For example foo/bar/baz.mp3
|
||||||
would get /=foo, /foo=bar, /foo/bar=baz, and .=mp3.
|
would get /=foo, foo/=bar, foo/bar/=baz, and .=mp3.
|
||||||
|
|
||||||
Note that /dir=subdir allows a view to use `/dir=*` and only
|
Note that dir/=subdir allows a view to use `dir/=*` and only
|
||||||
match one level of subdirs with the glob. So is better than dir=foo/bar
|
match one level of subdirs with the glob. So is better than dir=foo/bar
|
||||||
as the metadata. (Alternatively, could do special glob matching.)
|
as the metadata. (Alternatively, could do special glob matching.)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue