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

Fix featured posts and add featuredImage flag #91

Merged
merged 1 commit into from
Oct 25, 2023

Conversation

jhcoll
Copy link
Contributor

@jhcoll jhcoll commented Oct 25, 2023

Description

Fixes issue #75 where featured posts weren't being shown in category pages, as well as removes read more if there are no related posts. Adds flag to stop showing auto-generated title images for featured posts unless altered

Change List

  • Fixes added to feature_posts.html and default_post.html
  • Allow for new featuredImage flag to be used in featured_posts.html

Example without auto-gen title cards in featured posts

image

How to use featuredImage flag

If a post has a specifically added title image, that will want to be shown in the featured posts section, then the post will need to include featuredImage: true within the post metadata.

@ColinEberhardt ColinEberhardt merged commit 310e4f9 into ScottLogic:gh-pages Oct 25, 2023
@jhcoll jhcoll deleted the update-featured-posts branch November 8, 2023 13:31
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