Skip to content

fix: use positional params only in hextra jupyter shortcode example#124

Merged
saurabhraghuvanshii merged 1 commit intolayer5io:masterfrom
Oluwatunmise-olat:fix/hugo-jupyter-shortcode
Apr 8, 2026
Merged

fix: use positional params only in hextra jupyter shortcode example#124
saurabhraghuvanshii merged 1 commit intolayer5io:masterfrom
Oluwatunmise-olat:fix/hugo-jupyter-shortcode

Conversation

@Oluwatunmise-olat
Copy link
Copy Markdown
Contributor

@Oluwatunmise-olat Oluwatunmise-olat commented Apr 8, 2026

Notes for Reviewers

This PR fixes: The Hugo build was failing because of an invalid shortcode call in (content/content-formatting-examples/hextra/jupyter/index.md)

I traced the failing GitHub Action to one shortcode call in the Jupyter formatting example page: content/content-formatting-examples/hextra/jupyter/index.md.

The example was mixing positional and named shortcode parameters, which Hugo rejects: got named parameter 'filename'. Cannot mix named and positional parameters.

I changed that example to use positional parameters only.

Change made

  • from: {{% hextra/jupyter "example-notebook.ipynb" filename="analysis.ipynb" %}}
  • to: {{% hextra/jupyter "example-notebook.ipynb" %}}

Signed commits

  • Yes, I signed my commits.

Signed-off-by: Oluwatunmise-olat <oluwatunmiseolatunbosun2001@gmail.com>
@Oluwatunmise-olat Oluwatunmise-olat changed the title chore: use positional params only in hextra jupyter shortcode example fix: use positional params only in hextra jupyter shortcode example Apr 8, 2026
@saurabhraghuvanshii saurabhraghuvanshii merged commit 915daf2 into layer5io:master Apr 8, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants