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