mirror of
https://github.com/HandBrake/HandBrake-docs.git
synced 2025-12-12 18:31:30 -06:00
build: Move navigation partial processing.
This commit is contained in:
parent
c3b0fd142a
commit
edf19ec1fc
@ -125,6 +125,9 @@ function build_source {
|
||||
-e '/\{\{[ ]*template\.header[ ]*\}\}/{r '"${TEMPLATE_Header:-}" -e 'd;}' \
|
||||
-e '/\{\{[ ]*document\.content[ ]*\}\}/{r '"${DOCUMENT_Content:-}" -e 'd;}' \
|
||||
-e '/\{\{[ ]*template\.footer[ ]*\}\}/{r '"${TEMPLATE_Footer:-}" -e 'd;}' \
|
||||
-i.sedbak "${DEST}.html"
|
||||
# inject nav
|
||||
sed -E \
|
||||
-e '/\{\{[ ]*template\.nav[ ]*\}\}/{r '"${TEMPLATE_Nav:-}" -e 'd;}' \
|
||||
-i.sedbak "${DEST}.html"
|
||||
# process template tags
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user