Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
website
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Monitor
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
chaotikum
website
Commits
fde218e7
Commit
fde218e7
authored
11 months ago
by
Lukas Ruge
Browse files
Options
Downloads
Patches
Plain Diff
Update content_basics.md
parent
ddca86b3
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Pipeline
#22749
passed
11 months ago
Stage: build
Stage: test
Stage: deploy
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
docs/content/content_basics.md
+14
-1
14 additions, 1 deletion
docs/content/content_basics.md
with
14 additions
and
1 deletion
docs/content/content_basics.md
+
14
−
1
View file @
fde218e7
...
@@ -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
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment