Skip to content

Hugo: Update remote resource handling for version bump #280

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

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

TasoOneAsia
Copy link
Member

@TasoOneAsia TasoOneAsia commented Jun 20, 2025

Proposed changes

DO NOT MERGE THIS PR, it is intended to be grouped with nginxinc/docs-actions#46.

This PR handles for a Hugo update to the latest release (0.147.8) and adjusts relevant GetRemote usages to adhere to the new syntax described here.

This PR also modifies the default single template to include docs template content previously invoked through an explicit .Render "docs" call.

Checklist

Before creating a PR, run through this checklist and mark each as complete.

  • I have read the CONTRIBUTING document
  • If applicable, I have added tests that prove my fix is effective or that my feature works
  • If applicable, I have checked that any relevant tests pass after adding my changes
  • I have updated any relevant documentation (README.md and CHANGELOG.md)

@TasoOneAsia TasoOneAsia self-assigned this Jun 20, 2025
@TasoOneAsia TasoOneAsia requested a review from a team as a code owner June 20, 2025 15:08
@TasoOneAsia TasoOneAsia marked this pull request as draft June 20, 2025 15:08
Comment on lines -2 to -3
<div class="docs-container row override-sidebar-collapse">
<div class="docs-container row override-sidebar-collapse">
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Was the original double <div class="docs-container row override-sidebar-collapse"> intended?

@nginx-jack This came up in discussion last week and IIRC you thought it had come from grid changes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants