summaryrefslogtreecommitdiffhomepage
path: root/www/scripts/build.sh
diff options
context:
space:
mode:
authorHsieh Chin Fan <pham@topo.tw>2025-02-06 10:38:59 +0800
committerHsieh Chin Fan <pham@topo.tw>2025-02-06 10:38:59 +0800
commitf0596bc1c7843fb031b1a99c0896265334037afc (patch)
treeb197c8349e89886ba792edbf926b99e3ad4f20bd /www/scripts/build.sh
parentf87dc10dec540e1804445acdf3c2f4d03486d6cb (diff)
Update
Diffstat (limited to 'www/scripts/build.sh')
-rwxr-xr-xwww/scripts/build.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/www/scripts/build.sh b/www/scripts/build.sh
index 985725a..6cc0bc2 100755
--- a/www/scripts/build.sh
+++ b/www/scripts/build.sh
@@ -86,6 +86,7 @@ check_frontmatter() {
86 86
87 # define local variables for frontmatter 87 # define local variables for frontmatter
88 while read key value; do 88 while read key value; do
89 [[ $key =~ ^[[:digit:]] ]] && key=_$key
89 export ${key,,}="$value" 90 export ${key,,}="$value"
90 done <<<"$(get_frontmatter)" 91 done <<<"$(get_frontmatter)"
91 92