From 742056151486944aeeb2bc7eecb0731d4902cd82 Mon Sep 17 00:00:00 2001 From: BBaoVanC Date: Sun, 5 Nov 2023 01:12:21 -0500 Subject: [PATCH] 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 --- staging.sh | 5 +++++ themes/bobatheme | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100755 staging.sh diff --git a/staging.sh b/staging.sh new file mode 100755 index 0000000..337dcd0 --- /dev/null +++ b/staging.sh @@ -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/ diff --git a/themes/bobatheme b/themes/bobatheme index 88adfbd..5c87c2b 160000 --- a/themes/bobatheme +++ b/themes/bobatheme @@ -1 +1 @@ -Subproject commit 88adfbdf89e8aea37a897df8ae8216e7b2e67bc4 +Subproject commit 5c87c2b0694dd3ba410eaad6cad10f677d66809f