fix(sections): update stale singular section path references to plural

- Fix build_links.html project/ → projects/ GetPage lookup (breaking bug)
- Fix collection block.html event/publication → events/publications type checks
- Update academic-cv publication archetypes, import workflow (publication/ → publications/)
- Update data-science-blog import workflow, notebook, author RSS URL (post/ → blog/)
- Update documentation and startup-landing-page author RSS URLs (post/ → blog/)
This commit is contained in:
George Cushen committed 2026-04-16 02:16:23 +01:00
1 parent 3f5e979aa1
commit ca9888609e
12 files changed
+22 -21

No files matched your search

+1
View File
@@ -8,6 +8,7 @@
AGENTS.local.md
CLAUDE.local.md
.claude/settings.json
# ============================================================================
# Build Artifacts & Generated Files
+2 -2
View File
@@ -318,9 +318,9 @@
{{ $i18n := "" }}
{{ if eq $items_type "blog" }}
{{ $i18n = "more_posts" }}
{{ else if eq $items_type "event" }}
{{ else if eq $items_type "events" }}
{{ $i18n = "more_talks" }}
{{ else if eq $items_type "publication" }}
{{ else if eq $items_type "publications" }}
{{ $i18n = "more_publications" }}
{{ else }}
{{ $i18n = "more_pages" }}
@@ -69,7 +69,7 @@
{{/* 2) Associated projects (internal) */}}
{{ with $page.Params.projects }}
{{ range . }}
{{ with (site.GetPage (printf "project/%s" .)) }}
{{ with (site.GetPage (printf "projects/%s" .)) }}
{{ $typeF := "project" }}
{{ $urlF := .RelPermalink }}
{{ $keyF := printf "%s::%s" $typeF $urlF }}
@@ -68,12 +68,12 @@ jobs:
if: ${{ hashFiles('publications.bib') != '' }}
run: |
echo "🚀 Starting publication import..."
academic import publications.bib content/publication/ --compact --verbose
academic import publications.bib content/publications/ --compact --verbose
echo "✅ Publication import completed successfully"
# Verify that files were created
if [ -d "content/publication" ] && [ "$(ls -A content/publication/)" ]; then
echo "📚 Publications imported: $(ls content/publication/ | wc -l) items"
if [ -d "content/publications" ] && [ "$(ls -A content/publications/)" ]; then
echo "📚 Publications imported: $(ls content/publications/ | wc -l) items"
else
echo "⚠️ No publications were imported"
fi
@@ -88,14 +88,14 @@ jobs:
body: |
🔄 **Automated Publication Import**
This PR automatically imports the latest publications from `publications.bib` to `content/publication/`.
This PR automatically imports the latest publications from `publications.bib` to `content/publications/`.
**Changes:**
- 📚 Updated publication entries
- 🏷️ Processed bibliographic data
---
将最新的出版物从`publications.bib`导入到`content/publication/`。
将最新的出版物从`publications.bib`导入到`content/publications/`。
📖 [View Documentation](https://github.com/GetRD/academic-file-converter)
base: main
@@ -68,7 +68,7 @@ image:
# Associated Projects (optional).
# Associate this publication with one or more of your projects.
# Simply enter your project's folder or file name without extension.
# E.g. `internal-project` references `content/project/internal-project/index.md`.
# E.g. `internal-project` references `content/projects/internal-project/index.md`.
# Otherwise, set `projects: []`.
projects:
- example
@@ -61,7 +61,7 @@ image:
# Associated Projects (optional).
# Associate this publication with one or more of your projects.
# Simply enter your project's folder or file name without extension.
# E.g. `internal-project` references `content/project/internal-project/index.md`.
# E.g. `internal-project` references `content/projects/internal-project/index.md`.
# Otherwise, set `projects: []`.
projects: []
@@ -60,7 +60,7 @@ image:
# Associated Projects (optional).
# Associate this publication with one or more of your projects.
# Simply enter your project's folder or file name without extension.
# E.g. `internal-project` references `content/project/internal-project/index.md`.
# E.g. `internal-project` references `content/projects/internal-project/index.md`.
# Otherwise, set `projects: []`.
projects:
- internal-project
@@ -31,7 +31,7 @@ jobs:
python -m pip install --upgrade pip
pip install academic==0.11.2
- name: Run Academic Converter Tool
run: academic import 'notebooks/*.ipynb' content/post/ --verbose
run: academic import 'notebooks/*.ipynb' content/blog/ --verbose
- name: Create Pull Request
# Set ID for `Check outputs` stage
id: cpr
@@ -40,8 +40,8 @@ jobs:
commit-message: 'content: import blog posts from `notebooks/` folder'
title: HugoBlox Kit - Import latest blog posts
body: |
Convert Jupyter Notebooks in the `notebooks/` folder into blog posts in the `content/post/` folder.
将`notebooks/`文件夹中的Jupyter笔记本转换为`content/post/`文件夹中的博客帖子。
Convert Jupyter Notebooks in the `notebooks/` folder into blog posts in the `content/blog/` folder.
将`notebooks/`文件夹中的Jupyter笔记本转换为`content/blog/`文件夹中的博客帖子。
[View Documentation](https://github.com/GetRD/academic-file-converter)
base: main
labels: automated-pr, content
@@ -28,5 +28,5 @@ links:
url: uploads/resume.pdf
label: Download my resume
- icon: rss
url: ./post/index.xml
url: ./blog/index.xml
label: Subscribe to my blog via RSS feed
@@ -86,7 +86,7 @@
"\n",
"```bash\n",
"pipx install academic\n",
"academic import 'notebooks/**.ipynb' content/post/ --verbose\n",
"academic import 'notebooks/**.ipynb' content/blog/ --verbose\n",
"```"
]
},
@@ -100,7 +100,7 @@
"tags": []
},
"source": [
"The notebooks will be published to the folder you specify above. In this case, they will be published to your `content/post/` folder."
"The notebooks will be published to the folder you specify above. In this case, they will be published to your `content/blog/` folder."
]
},
{
@@ -141,4 +141,4 @@
},
"nbformat": 4,
"nbformat_minor": 4
}
}
+1 -1
View File
@@ -28,5 +28,5 @@ links:
url: uploads/resume.pdf
label: Download my resume
- icon: rss
url: ./post/index.xml
url: ./blog/index.xml
label: Subscribe to my blog via RSS feed
@@ -28,5 +28,5 @@ links:
url: uploads/resume.pdf
label: Download my resume
- icon: rss
url: ./post/index.xml
url: ./blog/index.xml
label: Subscribe to my blog via RSS feed