Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix request a change link #11845

Merged
merged 2 commits into from
May 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion config/_default/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ markup:

params:
canonicalURL: https://www.pulumi.com
contentRepositoryURL: https://github.com/pulumi/pulumi-hugo
contentRepositoryURL: https://github.com/pulumi/docs
contentRepositoryBaseBranch: master
registryRepositoryURL: https://github.com/pulumi/registry
registryRepositoryBaseBranch: master
Expand Down
4 changes: 2 additions & 2 deletions layouts/partials/docs/table-of-contents.html
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ <h2 class="no-anchor">On this page</h2>
<a
data-track="edit-page"
class="text-gray-600 hover:text-gray-700 text-xs"
href="{{ $repoURL }}/edit/{{ $.Site.Params.contentRepositoryBaseBranch }}/{{ getenv "REPO_THEME_PATH" }}content/{{ .Path }}"
href="{{ $repoURL }}/edit/{{ $.Site.Params.contentRepositoryBaseBranch }}/content/{{ .Path }}"
target="_blank"
>
<i class="fas fa-edit mr-2" style="width: 14px"></i>Edit this Page
Expand All @@ -74,7 +74,7 @@ <h2 class="no-anchor">On this page</h2>
<a
data-track="request-change"
class="text-gray-600 hover:text-gray-700 text-xs"
href="{{ $.Site.Params.contentRepositoryURL }}/issues/new?body=File: [{{ getenv "REPO_THEME_PATH" }}content/{{ .Path }}]({{ $.Page.Permalink }})"
href="{{ $.Site.Params.contentRepositoryURL }}/issues/new?body=File: [content/{{ .Path }}]({{ $.Page.Permalink }})"
target="_blank"
>
<i class="far fa-check-square mr-2" style="width: 14px"></i>Request a Change
Expand Down
Loading