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

Correct layout values in site content front matter #23

Merged
merged 2 commits into from
Nov 12, 2023
Merged

Conversation

per1234
Copy link
Owner

@per1234 per1234 commented Nov 11, 2023

The value in the layout field of the website content source file front matter must match the name of the layout template file.

These pages were incorrectly configured to use a layout named "page" even though no such layout exists. They are hereby changed to use the "basic" layout as originally intended.

@per1234 per1234 added type: imperfection Perceived defect in any part of project topic: code Related to content of the project itself labels Nov 11, 2023
The breadcrumbs feature of the hugo-PaperMod theme is implemented in a partial template. That partial is referenced in
the page templates provided by the theme.

Those page templates are targeted to a blog type of website and so are worthless for this project so this project uses
custom page templates exclusively. It is required to include the breadcrumbs code in the custom templates in order for
the site to have breadcrumbs. This is done as part of a custom "secondary-header.html" partial template, which is
referenced by all the project's individual page templates.
The value in the `layout` field of the website content source file front matter must match the name of the layout
template file.

These pages were incorrectly configured to use a layout named "page" even though no such layout exists. They are hereby
changed to use the "basic" layout as originally intended.
@per1234 per1234 self-assigned this Nov 12, 2023
@per1234 per1234 merged commit 38985a0 into main Nov 12, 2023
30 of 32 checks passed
@per1234 per1234 deleted the correct-layout branch November 12, 2023 05:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
topic: code Related to content of the project itself type: imperfection Perceived defect in any part of project
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant