Update and rework project structure with new pagebuilder concept. (based on RK Architekten and SFU Politik configs and sources)

This commit is contained in:
2022-11-17 16:01:52 +00:00
parent 825dfc18f9
commit 30c05143fe
1421 changed files with 3875 additions and 4975 deletions

View File

@@ -21,7 +21,7 @@ echo "sync frontend"
rsync -rlcgD --perms -i -u -v --stats --progress \
--delete \
-e "sshpass -p $pass ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -p 22222" \
dist/ \
frontend/ \
$user@$host:./frontend/
echo "sync api config"

View File

@@ -5,7 +5,7 @@ if [ "$1" == "" ]; then
exit 1
fi
preload=$(for f in dist/_dist_/*.woff2; do
preload=$(for f in frontend/_dist_/*.woff2; do
echo "<link rel=\"preload\" href=\"/_dist_/`basename $f`\" as=\"font\" type=\"font/woff2\" crossorigin />"
done)