Update build-book.yaml
This commit is contained in:
2
.github/workflows/build-book.yaml
vendored
2
.github/workflows/build-book.yaml
vendored
@@ -256,7 +256,7 @@ jobs:
|
||||
echo "--- 步骤 4: 更新主索引页面 (content/cn/_index.md) ---"
|
||||
TARGET_INDEX="$TARGET_CONTENT_DIR/_index.md"
|
||||
|
||||
FRONTMATTER="---\nlinkTitle: AI Daily\ntitle: AI Daily-AI资讯日报\nbreadcrumbs: false\ncomments: true"
|
||||
FRONTMATTER="---\nlinkTitle: AI Daily\ntitle: AI Daily-AI资讯日报\nbreadcrumbs: false\ncomments: true\n"
|
||||
# The 'next' link should point to the second latest note, which is now an archived page.
|
||||
if [ -n "$SECOND_LATEST_NOTE" ] && [ "$LATEST_NOTE" != "$SECOND_LATEST_NOTE" ]; then # Ensure there IS a second latest note
|
||||
FILENAME_SECOND_LATEST=$(basename "$SECOND_LATEST_NOTE" .md)
|
||||
|
||||
Reference in New Issue
Block a user