mirror of
https://github.com/HandBrake/HandBrake-docs.git
synced 2025-12-13 03:01:59 -06:00
build: Remove notice template.
This commit is contained in:
parent
cc5925292f
commit
eb9c19edc4
@ -177,10 +177,9 @@ function build_source {
|
|||||||
sed -E \
|
sed -E \
|
||||||
-e '/\{\{[ ]*template\.document[ ]*\}\}/{r '"${TEMPLATE_Document:-}" -e 'd;}' \
|
-e '/\{\{[ ]*template\.document[ ]*\}\}/{r '"${TEMPLATE_Document:-}" -e 'd;}' \
|
||||||
-i.sedbak "${DEST}.html"
|
-i.sedbak "${DEST}.html"
|
||||||
# inject header, notice, content, footer
|
# inject header, content, footer
|
||||||
sed -E \
|
sed -E \
|
||||||
-e '/\{\{[ ]*template\.header[ ]*\}\}/{r '"${TEMPLATE_Header:-}" -e 'd;}' \
|
-e '/\{\{[ ]*template\.header[ ]*\}\}/{r '"${TEMPLATE_Header:-}" -e 'd;}' \
|
||||||
-e '/\{\{[ ]*template\.notice[ ]*\}\}/{r '"${TEMPLATE_Notice:-}" -e 'd;}' \
|
|
||||||
-e '/\{\{[ ]*document\.content[ ]*\}\}/{r '"${DOCUMENT_Content:-}" -e 'd;}' \
|
-e '/\{\{[ ]*document\.content[ ]*\}\}/{r '"${DOCUMENT_Content:-}" -e 'd;}' \
|
||||||
-e '/\{\{[ ]*template\.footer[ ]*\}\}/{r '"${TEMPLATE_Footer:-}" -e 'd;}' \
|
-e '/\{\{[ ]*template\.footer[ ]*\}\}/{r '"${TEMPLATE_Footer:-}" -e 'd;}' \
|
||||||
-i.sedbak "${DEST}.html"
|
-i.sedbak "${DEST}.html"
|
||||||
@ -301,7 +300,6 @@ if [[ -e "${TEMPLATE_CONFIG}" ]]; then
|
|||||||
TEMPLATE_Header="${TEMPLATE_DIR}/${TEMPLATE_Header}"
|
TEMPLATE_Header="${TEMPLATE_DIR}/${TEMPLATE_Header}"
|
||||||
TEMPLATE_Nav="${TEMPLATE_DIR}/${TEMPLATE_Nav}"
|
TEMPLATE_Nav="${TEMPLATE_DIR}/${TEMPLATE_Nav}"
|
||||||
TEMPLATE_Document="${TEMPLATE_DIR}/${TEMPLATE_Document}"
|
TEMPLATE_Document="${TEMPLATE_DIR}/${TEMPLATE_Document}"
|
||||||
TEMPLATE_Notice="${TEMPLATE_DIR}/${TEMPLATE_Notice}"
|
|
||||||
TEMPLATE_Footer="${TEMPLATE_DIR}/${TEMPLATE_Footer}"
|
TEMPLATE_Footer="${TEMPLATE_DIR}/${TEMPLATE_Footer}"
|
||||||
TEMPLATE_Redirect="${TEMPLATE_DIR}/${TEMPLATE_Redirect}"
|
TEMPLATE_Redirect="${TEMPLATE_DIR}/${TEMPLATE_Redirect}"
|
||||||
TEMPLATE_Assets_Fonts=()
|
TEMPLATE_Assets_Fonts=()
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user