Add headers to all pages! Also update the look and feel of the test
page.
This commit is contained in:
@ -32,6 +32,7 @@ fi
|
||||
function start_main_page {
|
||||
# Create the necessary HTML components for a web page.
|
||||
$HELPER_DIR/body_open.php > $mainpage
|
||||
sed -i -e 's/Hyperling/Hyperling: Photos/' $mainpage
|
||||
echo "" >> $mainpage
|
||||
|
||||
# Give the page a description.
|
||||
@ -89,6 +90,8 @@ function build_album_pages {
|
||||
page=""
|
||||
subpage="$PHOTOS_DIR/$album/index.html"
|
||||
$HELPER_DIR/body_open.php > $subpage
|
||||
sed -i -e "s/Hyperling/Hyperling: $album_name/" $subpage
|
||||
echo "" >> $subpage
|
||||
|
||||
# Add a back button
|
||||
echo -en "\n\t\t<div class='row'>\n\t\t\t<a href='/photos'>" >> $subpage
|
||||
@ -190,6 +193,7 @@ function build_all_page {
|
||||
|
||||
# Create/overwrite file.
|
||||
$HELPER_DIR/body_open.php > $allpage
|
||||
sed -i -e 's/Hyperling/Hyperling: All Photos/' $allpage
|
||||
echo "" >> $allpage
|
||||
|
||||
# Add header.
|
||||
|
Reference in New Issue
Block a user