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

Don't show metadata for non-posts #285

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Don't show metadata for non-posts #285

wants to merge 3 commits into from

Conversation

leedxw
Copy link
Contributor

@leedxw leedxw commented Mar 6, 2025

Searches include types other than posts - which will have missing metadata.

Only use the metadata template if the entry is a post.

Example: the following will include the category events
https://accessibility.blog.gov.uk/?s=Events

leedxw added 3 commits March 6, 2025 12:43
Searches include types othet than posts - which will have missing metadata.

Only use the metadata template if the entry is a post.

Example the following will include the category events
https://accessibility.blog.gov.uk/?s=Events
@leedxw leedxw requested a review from matthewpassmore March 6, 2025 12:52
@leedxw leedxw marked this pull request as ready for review March 6, 2025 12:52
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.

1 participant