diff options
author | Hsieh Chin Fan <pham@topo.tw> | 2025-02-06 10:38:59 +0800 |
---|---|---|
committer | Hsieh Chin Fan <pham@topo.tw> | 2025-02-06 10:38:59 +0800 |
commit | f0596bc1c7843fb031b1a99c0896265334037afc (patch) | |
tree | b197c8349e89886ba792edbf926b99e3ad4f20bd /www/scripts | |
parent | f87dc10dec540e1804445acdf3c2f4d03486d6cb (diff) |
Update
Diffstat (limited to 'www/scripts')
-rwxr-xr-x | www/scripts/build.sh | 1 |
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 | ||