Skip to content
Snippets Groups Projects
Commit fde218e7 authored by Lukas Ruge's avatar Lukas Ruge
Browse files

Update content_basics.md

parent ddca86b3
No related branches found
No related tags found
No related merge requests found
Pipeline #22749 passed
...@@ -192,4 +192,17 @@ In `entity.html` gehen wir also für jede `person_id` in der Variable `con` durc ...@@ -192,4 +192,17 @@ In `entity.html` gehen wir also für jede `person_id` in der Variable `con` durc
#### Where Syntax #### Where Syntax
TODO: Diese Doku ist noch nicht fertig. Wenn du neugierig bist, kannst du [contact:tvluke@chaotikum.org] fragen. Eine Where-Syntax ist in liquid etwas anstrengend, hier sind ein paar beispiele:
\ No newline at end of file ```
{% assign relevant_tools = site.inventory | where_exp: "rtools", "rtools.sets contains 'werkstatt'" -%}
```
*(Aus `_includes/tool_list.html`)*
Zieht sich alle geräte aus der Inventory-Liste, wenn im set das set werkstatt ist.
```
{% assign events = site.events | where: "uid", video.event -%}
```
*(Aus `_includes/media_in_list.html`)*
Zieht alle Events, deren UID die eines events ist (dies sollte lediglich eins sein).
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment