Added note regarding the need to double escape double quotes or simply use single quotes inside the title_file.
This commit is contained in:
parent
bb8562ce43
commit
d76a066d84
1 changed files with 4 additions and 0 deletions
4
bb.sh
4
bb.sh
|
@ -92,6 +92,8 @@ global_variables() {
|
|||
# leave blank to generate them, recommended
|
||||
header_file=""
|
||||
footer_file=""
|
||||
# Note that one must double escape double quotes (e.g. \\")
|
||||
# or use single quotes inside the title_file.
|
||||
title_file=""
|
||||
# extra content to add just after we open the <body> tag
|
||||
# and before the actual blog content
|
||||
|
@ -930,6 +932,8 @@ create_includes() {
|
|||
# and processes each line into .title.html. This is a simple
|
||||
# way to allow the use of variables in the title_file without
|
||||
# having to hack up the default (here... after the else).
|
||||
# Note that one must double escape double quotes (e.g. \\")
|
||||
# or use single quotes inside the title_file.
|
||||
while read thisline
|
||||
do
|
||||
eval "echo \"$thisline\"" >> .title.html
|
||||
|
|
Loading…
Reference in a new issue