Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
detaro
on Dec 21, 2015
|
parent
|
context
|
favorite
| on:
Introducing Lektor – A Static File Content Managem...
Thanks. Yes, the code-as-configuration thing is difficult, it invites people to do very strange things sometimes.
[children] replaced_with = site.query('/projects').filter(F.categories.contains(this))
(from the categories example) looked a lot like embedded code to me ;)
the_mitsuhiko
on Dec 21, 2015
[–]
Since there is no SQL I'm using the expression language from the templates for queries :)
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: