Skip to content

Fix _partial paths #25

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

Merged
merged 2 commits into from
Jul 24, 2025
Merged

Fix _partial paths #25

merged 2 commits into from
Jul 24, 2025

Conversation

h-enk
Copy link
Member

@h-enk h-enk commented Jul 24, 2025

Summary

Brief explanation of the proposed changes.

Basic example

Include a basic example, screenshots, or links.

Motivation

Why are we doing this? What use cases does it support? What is the expected outcome?

Checks

  • Read Creating a pull request
  • Supports all screen sizes (if relevant)
  • Supports both light and dark mode (if relevant)
  • Passes npm run test (if relevant)

Copy link

changeset-bot bot commented Jul 24, 2025

🦋 Changeset detected

Latest commit: 13579dd

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@thulite/core Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@h-enk h-enk self-assigned this Jul 24, 2025
@h-enk h-enk linked an issue Jul 24, 2025 that may be closed by this pull request
@h-enk h-enk requested a review from Copilot July 24, 2025 13:21
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR fixes incorrect partial path references in the Hugo template by adding missing underscore prefixes to template existence checks. The change ensures consistency between the templates.Exists checks and the actual partial file paths.

  • Updates three templates.Exists calls to include the _partials/ prefix instead of partials/
  • Adds a changeset documenting the fix as a patch release

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 3 comments.

File Description
layouts/_partials/head/head.html Corrects partial path references by adding underscore prefix to template existence checks
.changeset/khaki-moles-hang.md Documents the partial path fix as a patch release

@h-enk h-enk merged commit 08de94a into main Jul 24, 2025
@h-enk h-enk deleted the next branch July 24, 2025 13:25
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.

Update head.html
1 participant