diff --git a/themes/default/layouts/partials/docs/table-of-contents.html b/themes/default/layouts/partials/docs/table-of-contents.html index 89316459b3a..234c93850d2 100644 --- a/themes/default/layouts/partials/docs/table-of-contents.html +++ b/themes/default/layouts/partials/docs/table-of-contents.html @@ -55,11 +55,15 @@

On this page

{{ $isCLICommand := hasPrefix .Path "docs/cli/commands" }} {{ $isAPIDoc := and (hasPrefix .Path "docs/reference/pkg/") (ne .Path "docs/reference/pkg/_index.md") }} {{ if not (or $isCLICommand $isAPIDoc $.Page.Params.no_edit_this_page) }} + {{ $repoURL := "https://github.com/pulumi/pulumi-hugo" }} + {{ if (hasPrefix .Path "registry/") }} + {{ $repoURL = "https://github.com/pulumi/registry" }} + {{ end }}
  • Edit this Page