Compare commits

..

5 Commits

Author SHA1 Message Date
shamoon
313835c0e6 Bump version to 1.1.1 2025-03-27 20:20:02 -07:00
shamoon
999dade861 Fix: add fallback for shvl syntax (#5080) 2025-03-27 20:16:50 -07:00
shamoon
2cabe77b55 Fix: add fallback for shvl syntax 2025-03-27 20:15:39 -07:00
shamoon
0a50d5a6aa Merge branch 'main' into dev 2025-03-27 13:27:26 -07:00
shamoon
e19dcc2729 Only deploy docs from main branch 2025-03-27 13:27:20 -07:00
3 changed files with 3 additions and 3 deletions

View File

@@ -55,7 +55,7 @@ jobs:
run: MKINSIDERS=false mkdocs build
deploy:
name: Build & Deploy
if: github.repository == 'gethomepage/homepage' && github.event_name != 'pull_request'
if: github.repository == 'gethomepage/homepage' && github.event_name != 'pull_request' && github.ref == 'refs/heads/main'
runs-on: ubuntu-latest
needs:
- pre-commit

View File

@@ -1,6 +1,6 @@
{
"name": "homepage",
"version": "1.1.0",
"version": "1.1.1",
"private": true,
"scripts": {
"preinstall": "npx only-allow pnpm",

View File

@@ -18,7 +18,7 @@ function getValue(field, data) {
// shvl is easier, everything else is kept for backwards compatibility.
if (typeof field === "string") {
return shvl.get(data, field, null);
return shvl.get(data, field, null) ?? data[field] ?? null;
}
while (typeof lastField === "object") {