Add legacy redirect audit script and supporting fixes#249
Open
cwickham wants to merge 2 commits into
Open
Conversation
The post was originally hosted externally (jeroenjanssens.com), so it was never ported from plotnine.org. Keep `source: plotnine` so it still appears on the plotnine project listing, but remove `ported_from` and `port_status` since there's no port to track.
hugodown-rendered tidyverse posts publish as index.html rather than index.md. The pattern previously matched only `.md` and `.markdown`, so these posts were invisible to anything consuming posts.json. Add `.html` to the pattern so all published frontmatter is enumerated.
✅ Deploy Preview for posit-open-source canceled.
|
Publishing checklist
|
5411234 to
765c008
Compare
Blog YAML Checks
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Two small fixes supporting the legacy-blog-redirects work shared via issues on the seven legacy site repos:
Drop incorrect
ported_fromfrom anscombes-quartet — the post was originally hosted externally (jeroenjanssens.com), not plotnine.org, so the porting metadata was misleading. Keepssource: plotnineso it still appears on the plotnine project listing.Pick up
.htmlposts in blog metadata extractor —scripts/extract-blog-metadata.Rnow also matchesindex.html. Some hugodown-rendered tidyverse posts publish as.htmlrather than.md, and they were previously invisible toposts.json(and anything that consumes it).