Browse Source

use subdirs instead of direct html

master
Nils 4 years ago
parent
commit
991cfd03fc
  1. 3
      generate.bash
  2. 1
      static/.htaccess

3
generate.bash

@ -73,7 +73,8 @@ cd "$ROOTPATH" #reset for next step
for PROJECT in ${PROJECTS[*]}
do
./projectinfo2modulepage.py "$PROJECT" > "temp/$PROJECT/module_page"
cat "modules/10head" "temp/$PROJECT/module_menu" "modules/20aftermenu" "temp/$PROJECT/module_page" "modules/90foot" > "out/$PROJECT.html"
mkdir -p "out/$PROJECT"
cat "modules/10head" "temp/$PROJECT/module_menu" "modules/20aftermenu" "temp/$PROJECT/module_page" "modules/90foot" > "out/$PROJECT/index.html"
done
#Create Home/Welcome page

1
static/.htaccess

@ -22,3 +22,4 @@ Redirect /patroneo.git https://git.laborejo.org/lss/patroneo
Redirect /laborejo.git https://git.laborejo.org/lss/laborejo
Redirect /fluajhjo.git https://git.laborejo.org/lss/fluajho
Redirect /vico.git https://git.laborejo.org/lss/vico

Loading…
Cancel
Save