Update bobatheme - minor lazy loading performance tweaks

- Rename config.yaml to hugo.yaml
- Load syntax CSS async
- Load bobastyle.css async too
- Lazy load images
- Fix async loading of bobastyle.css
This commit is contained in:
BBaoVanC 2023-11-05 01:12:21 -05:00
parent 74dc4e75b2
commit 7420561514
Signed by: bbaovanc
GPG Key ID: 18089E4E3CCF1D3A
2 changed files with 6 additions and 1 deletions

5
staging.sh Executable file
View File

@ -0,0 +1,5 @@
#!/bin/sh -x
rm -rf public/
HUGO_ENABLEMISSINGTRANSLATIONPLACEHOLDERS=true hugo --printI18nWarnings --printPathWarnings --baseURL "https://demo.bbaovanc.com/staging/$1"
./compress.sh
rsync -avPzc --delete-delay public/ bbaosrv:/var/www/demo.bbaovanc.com/staging/$1/

@ -1 +1 @@
Subproject commit 88adfbdf89e8aea37a897df8ae8216e7b2e67bc4
Subproject commit 5c87c2b0694dd3ba410eaad6cad10f677d66809f