Templating engine #40
Labels
No labels
backend
beginner-friendly
bug
build
db
endpoint
federation
http
low-priority
tests
waiting for zig 0.11
web
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: heartles/fediglam#40
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
We need a templating engine for implementing server-side rendered HTML pages.
A basic one is partially implemented in the
template
package. Current features:else
for if statements (#62){#if .optional_arg |$arg|}
){#template my_subtemplate .subtemplate_arg}
) (#63){#for .arr |$v, $i|}
){.arr[0]}
){#call fmt .my_int "2>0"}
or{#call formatIso8601 .my_date}
- workshop syntax