fix GitHub Pages build - #21
Conversation
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: dac862aa93
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| on: | ||
| push: | ||
| paths: | ||
| - "**/*.md" |
There was a problem hiding this comment.
Preserve updates for the README article index
When a new article Markdown file is pushed, removing this trigger together with scripts/update_readme_nav.py leaves no repository-wide replacement that updates the static README navigation. The README still presents that section as “全部文章”/“完整文章导航”, so after the next article is added the repository front page will silently omit it; retain an update mechanism or stop presenting the retained static list as complete.
Useful? React with 👍 / 👎.
What changed
where_expexpressions into Liquid 4-compatible chained filtersRoot cause
GitHub Pages uses Jekyll 3.10 with Liquid 4.0.4. Its
where_expparser accepts one comparison per expression, so the compoundandexpressions failed during the Pages build.Validation
where_expexpressions and removed script referencesgit diff --checkpasses