Files
lektor-groupby-plugin/README.md
relikd c9c1ab69b1 complete refactoring to ensure group before build
Due to a concurrency bug (lektor/lektor#1017), a source file is
sporadically not updated because `before-build` is evaluated faster
than `before-build-all`. Fixed with a redundant build process.

Also:
- adds before- and after-init hooks
- encapsulates logic into separate classes
- fix virtual path and remove virtual path resolver
- more type hints (incl. bugfixes)
2022-03-31 04:16:18 +02:00

28 lines
604 B
Markdown

# Lektor Plugin: groupby
A generic grouping / clustering plugin.
Can be used for tagging or similar tasks.
The grouping algorithm is performed once.
Contrary to, at least, cubic runtime if doing the same with Pad queries.
To install this plugin, modify your Lektor project file:
```ini
[packages]
lektor-groupby = 0.9.1
```
Optionally, enable a basic config:
```ini
[tags]
root = /
slug = tag/{group}.html
template = tag.html
split = ' '
```
Or dive into plugin development...
For usage examples, refer to the [examples](https://github.com/relikd/lektor-groupby-plugin/tree/main/examples) readme.