From b89cd1337ebd132b4a8aed758000970a71b6d6a5 Mon Sep 17 00:00:00 2001 From: Robert Bohne Date: Thu, 16 Jul 2026 10:28:04 +0200 Subject: [PATCH 1/4] fix: use page.parent for nested index child-page listings The navigation-based macro only searches top-level nav nodes, so nested section indexes (e.g. gatekeeper-opa, monitoring, vmware, livemigration) always rendered an empty list. Replace with page.parent which gives direct access to the current page's section node at any depth. Also update new-page-template.md so future pages use the correct pattern. Co-authored-by: Claude Co-authored-by: Bob --- content/cluster-configuration/gatekeeper-opa/index.md | 10 +++++----- content/cluster-configuration/monitoring/index.md | 10 +++++----- content/cluster-installation/vmware/index.md | 10 +++++----- content/kubevirt/livemigration/index.md | 10 +++++----- new-page-template.md | 10 +++++----- 5 files changed, 25 insertions(+), 25 deletions(-) diff --git a/content/cluster-configuration/gatekeeper-opa/index.md b/content/cluster-configuration/gatekeeper-opa/index.md index 665ce470..60929b49 100644 --- a/content/cluster-configuration/gatekeeper-opa/index.md +++ b/content/cluster-configuration/gatekeeper-opa/index.md @@ -6,12 +6,12 @@ tags: ['gatekeeper','opa','security'] --- # Gatekeeper / OPA -{% set current_page_title = page.title %} -{% for n in navigation if n.title == current_page_title %} -{% for c in n.children if c.title != current_page_title %} +{% set section = page.parent %} +{% if section and section.children %} +{% for c in section.children if c.title != page.title %} {% if c.abs_url is string %} -- [{{ c.title }}]({{c.canonical_url}}) +- [{{ c.title }}]({{ c.canonical_url }}) {% else %} @@ -19,4 +19,4 @@ tags: ['gatekeeper','opa','security'] {% endif %} {% endfor %} -{% endfor %} +{% endif %} diff --git a/content/cluster-configuration/monitoring/index.md b/content/cluster-configuration/monitoring/index.md index 58fd6809..43e88093 100644 --- a/content/cluster-configuration/monitoring/index.md +++ b/content/cluster-configuration/monitoring/index.md @@ -8,12 +8,12 @@ tags: ['monitoring'] ## Content -{% set current_page_title = page.title %} -{% for n in navigation if n.title == current_page_title %} -{% for c in n.children if c.title != current_page_title %} +{% set section = page.parent %} +{% if section and section.children %} +{% for c in section.children if c.title != page.title %} {% if c.abs_url is string %} -- [{{ c.title }}]({{c.canonical_url}}) +- [{{ c.title }}]({{ c.canonical_url }}) {% else %} @@ -21,4 +21,4 @@ tags: ['monitoring'] {% endif %} {% endfor %} -{% endfor %} +{% endif %} diff --git a/content/cluster-installation/vmware/index.md b/content/cluster-installation/vmware/index.md index 7d7ec835..2f766e64 100644 --- a/content/cluster-installation/vmware/index.md +++ b/content/cluster-installation/vmware/index.md @@ -13,12 +13,12 @@ Please check-out ## Content -{% set current_page_title = page.title %} -{% for n in navigation if n.title == current_page_title %} -{% for c in n.children if c.title != current_page_title %} +{% set section = page.parent %} +{% if section and section.children %} +{% for c in section.children if c.title != page.title %} {% if c.abs_url is string %} -- [{{ c.title }}]({{c.canonical_url}}) +- [{{ c.title }}]({{ c.canonical_url }}) {% else %} @@ -26,4 +26,4 @@ Please check-out {% endif %} {% endfor %} -{% endfor %} +{% endif %} diff --git a/content/kubevirt/livemigration/index.md b/content/kubevirt/livemigration/index.md index 040c1231..46e751a3 100644 --- a/content/kubevirt/livemigration/index.md +++ b/content/kubevirt/livemigration/index.md @@ -8,12 +8,12 @@ tags: ['tagA','tagB','v4.17'] ## Content -{% set current_page_title = page.title %} -{% for n in navigation if n.title == current_page_title %} -{% for c in n.children if c.title != current_page_title %} +{% set section = page.parent %} +{% if section and section.children %} +{% for c in section.children if c.title != page.title %} {% if c.abs_url is string %} -- [{{ c.title }}]({{c.canonical_url}}) +- [{{ c.title }}]({{ c.canonical_url }}) {% else %} @@ -21,4 +21,4 @@ tags: ['tagA','tagB','v4.17'] {% endif %} {% endfor %} -{% endfor %} +{% endif %} diff --git a/new-page-template.md b/new-page-template.md index 73049571..8396014d 100644 --- a/new-page-template.md +++ b/new-page-template.md @@ -18,12 +18,12 @@ Tested with: ## Content -{% set current_page_title = page.title %} -{% for n in navigation if n.title == current_page_title %} -{% for c in n.children if c.title != current_page_title %} +{% set section = page.parent %} +{% if section and section.children %} +{% for c in section.children if c.title != page.title %} {% if c.abs_url is string %} -- [{{ c.title }}]({{c.canonical_url}}) +- [{{ c.title }}]({{ c.canonical_url }}) {% else %} @@ -31,4 +31,4 @@ Tested with: {% endif %} {% endfor %} -{% endfor %} +{% endif %} From 685c4d14c494a125dd73e226ad8c453e6157240f Mon Sep 17 00:00:00 2001 From: Robert Bohne Date: Thu, 16 Jul 2026 10:29:56 +0200 Subject: [PATCH 2/4] fix: update git-coauthor skill to use Bob as co-author identity Co-authored-by: Bob --- .agents/skills/git-coauthor/SKILL.md | 19 +++++-------------- 1 file changed, 5 insertions(+), 14 deletions(-) diff --git a/.agents/skills/git-coauthor/SKILL.md b/.agents/skills/git-coauthor/SKILL.md index fbeaf7d7..c25a53ec 100644 --- a/.agents/skills/git-coauthor/SKILL.md +++ b/.agents/skills/git-coauthor/SKILL.md @@ -13,19 +13,10 @@ co-author using the [GitHub co-author trailer convention](https://docs.github.co ## Co-author identity -Use the following trailer exactly — GitHub resolves the noreply address to the -model's public profile: +Use the following trailer exactly: ``` -Co-authored-by: Claude -``` - -If the agent is known to be a different model (e.g. GPT-4, Gemini), substitute -the appropriate name and a matching noreply address: - -``` -Co-authored-by: GPT-4 -Co-authored-by: Gemini +Co-authored-by: Bob ``` ## Commit message format @@ -37,7 +28,7 @@ The trailer **must** be separated from the subject/body by a blank line: -Co-authored-by: Claude +Co-authored-by: Bob ``` ## Steps @@ -53,13 +44,13 @@ Co-authored-by: Claude second for the trailer (git appends them with a blank line between): ```shell - git commit -m "" -m "Co-authored-by: Claude " + git commit -m "" -m "Co-authored-by: Bob " ``` If a longer body is also needed: ```shell - git commit -m "" -m "" -m "Co-authored-by: Claude " + git commit -m "" -m "" -m "Co-authored-by: Bob " ``` 3. Verify the trailer was recorded: From d8e79ea5ff0d9eb8bf01fb0ab7e992757e85e9e1 Mon Sep 17 00:00:00 2001 From: Robert Bohne Date: Thu, 16 Jul 2026 10:31:25 +0200 Subject: [PATCH 3/4] =?UTF-8?q?fix:=20make=20git-coauthor=20skill=20generi?= =?UTF-8?q?c=20=E2=80=94=20each=20agent=20uses=20its=20own=20identity?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Bob --- .agents/skills/git-coauthor/SKILL.md | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) diff --git a/.agents/skills/git-coauthor/SKILL.md b/.agents/skills/git-coauthor/SKILL.md index c25a53ec..f0c9d347 100644 --- a/.agents/skills/git-coauthor/SKILL.md +++ b/.agents/skills/git-coauthor/SKILL.md @@ -13,11 +13,16 @@ co-author using the [GitHub co-author trailer convention](https://docs.github.co ## Co-author identity -Use the following trailer exactly: +Use your own agent identity for the trailer. Known identities: -``` -Co-authored-by: Bob -``` +| Agent | Trailer | +|---|---| +| Bob (IBM) | `Co-authored-by: Bob ` | +| Claude (Anthropic) | `Co-authored-by: Claude ` | +| GPT-4 (OpenAI) | `Co-authored-by: GPT-4 ` | +| Gemini (Google) | `Co-authored-by: Gemini ` | + +If your identity is not listed, use `Co-authored-by: `. ## Commit message format @@ -28,7 +33,7 @@ The trailer **must** be separated from the subject/body by a blank line: -Co-authored-by: Bob +Co-authored-by: ``` ## Steps @@ -44,13 +49,13 @@ Co-authored-by: Bob second for the trailer (git appends them with a blank line between): ```shell - git commit -m "" -m "Co-authored-by: Bob " + git commit -m "" -m "Co-authored-by: " ``` If a longer body is also needed: ```shell - git commit -m "" -m "" -m "Co-authored-by: Bob " + git commit -m "" -m "" -m "Co-authored-by: " ``` 3. Verify the trailer was recorded: From 26152b1f51b507e637357bd062087e91aa581275 Mon Sep 17 00:00:00 2001 From: Robert Bohne Date: Thu, 16 Jul 2026 11:01:21 +0200 Subject: [PATCH 4/4] fix: add language specifier to fenced code block (MD040) Co-authored-by: Bob --- .agents/skills/git-coauthor/SKILL.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.agents/skills/git-coauthor/SKILL.md b/.agents/skills/git-coauthor/SKILL.md index f0c9d347..a606f592 100644 --- a/.agents/skills/git-coauthor/SKILL.md +++ b/.agents/skills/git-coauthor/SKILL.md @@ -28,7 +28,7 @@ If your identity is not listed, use `Co-authored-by: