Skip to content

Prevent GitHub Pages Jekyll build from parsing Hugo archetypes - #2

Draft
sspirial with Copilot wants to merge 2 commits into
mainfrom
copilot/fix-failing-github-actions-job
Draft

Prevent GitHub Pages Jekyll build from parsing Hugo archetypes#2
sspirial with Copilot wants to merge 2 commits into
mainfrom
copilot/fix-failing-github-actions-job

Conversation

Copilot AI commented Jul 23, 2026

Copy link
Copy Markdown

The pages build and deployment workflow failed in the build job because Jekyll attempted to render Hugo archetype content and treated {{ .Date }} as a Jekyll date expression. This PR scopes Jekyll input to site content by excluding Hugo archetypes from Pages processing.

  • Problem

    • Jekyll was reading archetypes/default.md, causing:
      • Invalid Date: '"{{ .Date }}"' is not a valid datetime.
  • Change

    • Added a minimal Jekyll config file at repo root: _config.yml.
    • Excluded Hugo archetypes from Jekyll traversal.
  • Effect

    • Prevents cross-tool template parsing (Hugo archetype syntax interpreted by Jekyll).
    • Keeps Pages build focused on publishable site sources.
# _config.yml
exclude:
  - archetypes/

@vercel

vercel Bot commented Jul 23, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
sspirial-github-io Ready Ready Preview, Comment Jul 23, 2026 3:39pm

Copilot AI changed the title [WIP] Fix the failing GitHub Actions job "build" Prevent GitHub Pages Jekyll build from parsing Hugo archetypes Jul 23, 2026
Copilot AI requested a review from sspirial July 23, 2026 15:40
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