mirror of
https://github.com/mealie-recipes/mealie.git
synced 2025-06-02 21:25:45 -04: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 %}
|