mirror of
https://github.com/mealie-recipes/mealie.git
synced 2024-12-22 03:51:21 -08:00
8 lines
132 B
Django/Jinja
8 lines
132 B
Django/Jinja
from pathlib import Path
|
|
|
|
CWD = Path(__file__).parent
|
|
|
|
{% for f in data.children %}
|
|
{{ f.var }} = CWD / "{{ f.path }}"
|
|
{% endfor %}
|