Updated build script, so that 'Two More Cents' doesn't get adedd twice to the the title of the 'Site Map' page
This commit is contained in:
2
build.sh
2
build.sh
@@ -236,7 +236,7 @@ gen_index_page() { # Generate an index page (site map) that includes links to th
|
|||||||
echo "$index_file_html" > "$path_for_output" # Output variable to file
|
echo "$index_file_html" > "$path_for_output" # Output variable to file
|
||||||
|
|
||||||
add_header_and_footer_to_index "$path_for_output" # Add header and footer to index file
|
add_header_and_footer_to_index "$path_for_output" # Add header and footer to index file
|
||||||
sed -i 's/[\$][\$]title[\$][\$]/Site Map - Two More Cents/g' "$path_for_output" # Replace title variable with 'site map' title
|
sed -i 's/[\$][\$]title[\$][\$]/Site Map/g' "$path_for_output" # Replace title variable with 'site map' title
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user