Building meta array in Lua to iterate in template #10254
-
I'm using an adaptation of @tarleb 's
When I try to access it in the template, I can access things in A test template with these (using docbook output to test):
Gives me this:
How should I form the |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Having written the question, I realized the answer: index the table as a 1-indexed array, not with arbitrary identifiers.
This gives me correct results when using |
Beta Was this translation helpful? Give feedback.
Having written the question, I realized the answer: index the table as a 1-indexed array, not with arbitrary identifiers.
This gives me correct results when using
$for$
in the template.