Skip to content

Moves Featured Research into a Config File#227

Merged
ahaywood merged 3 commits intomainfrom
adutton/featured-posts-update
Apr 9, 2026
Merged

Moves Featured Research into a Config File#227
ahaywood merged 3 commits intomainfrom
adutton/featured-posts-update

Conversation

@ahaywood
Copy link
Copy Markdown
Contributor

@ahaywood ahaywood commented Apr 9, 2026

Previously, the featured research section was hard coded into the <FeaturedResearch /> component.

CleanShot 2026-04-09 at 16 21 10

Now, the content is controlled through the content/site.toml file, making it easier to update.

Contents includes:

[main.featuredResearch]
publication = "publication ID"
title = "Title of the Publication"
description = "Description that will appear on the homepage"
link = "link that you want the button to point to"
buttonLabel = "button label"

Copy link
Copy Markdown

@mvvmm mvvmm Apr 9, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just flagging the year here no longer matches the year in the filename, in case that wasn't intended

@ahaywood ahaywood merged commit b31819f into main Apr 9, 2026
6 checks passed
@ahaywood ahaywood deleted the adutton/featured-posts-update branch April 9, 2026 23:46
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