PageTree macro: Fix Title parameter usage. (fixes #550)
Some checks failed
continuous-integration / ci-go-lint (push) Failing after 9m30s
continuous-integration / ci-markdown-lint (push) Successful in 8s
continuous-integration / ci-unit-tests (push) Failing after 7m16s
continuous-integration / ci-build (push) Failing after 7m18s
continuous-integration / ci-docker-build (push) Failing after 1m35s

This commit is contained in:
Shawn Falkner-Horine 2025-01-14 10:10:02 -08:00 committed by Manuel Rüger
parent c5d0a8b8b7
commit fbfd36a16c

View File

@ -386,7 +386,7 @@ func templates(api *confluence.API) (*template.Template, error) {
`<ac:structured-macro ac:name="pagetree" ac:schema-version="1">`,
`<ac:parameter ac:name="root">`,
`<ac:link>`,
`<ri:page ri:content-title="@self"{{ or .Title "" }}/>`,
`<ri:page ri:content-title="{{ or .Title "@self" }}"/>`,
`</ac:link>`,
`</ac:parameter>`,
`<ac:parameter ac:name="sort">{{ or .Sort "" }}</ac:parameter>`,