Add headers to all pages! Also update the look and feel of the test page.

This commit is contained in:
2025-05-27 12:41:17 -07:00
parent 18cd38b194
commit 073377532e
15 changed files with 69 additions and 19 deletions

View File

@ -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.