Commit template application now makes user of apply-template function
parent
02993716c7
commit
6cea4d3426
|
@ -103,7 +103,7 @@ do-index()
|
|||
export path_root='../../'
|
||||
|
||||
# invoke template
|
||||
"$repotype"/commit2html "$commit" | "$path_tpl/commit"
|
||||
"$repotype"/commit2html "$commit" | apply-template commit
|
||||
) > "$path_out/$pagefile" \
|
||||
&& ./hashcache "$hash" "$pagefile"
|
||||
done
|
||||
|
@ -115,5 +115,5 @@ do-index()
|
|||
}
|
||||
|
||||
# let the template finish
|
||||
export -f do-index
|
||||
export -f do-index resolv-template apply-template exec-template
|
||||
exec-template index
|
||||
|
|
Loading…
Reference in New Issue