mirror of
https://github.com/tiennm99/HugoBlox-kit.git
synced 2026-10-14 02:15:09 +00:00
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:
1 parent
3f5e979aa1
commit
ca9888609e
12 files changed
+22
-21
No files matched your search
@@ -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 }}
|
||||
|
||||
Reference in new issue
Block a user