Repository navigation
feat(blog): publish weekly hacknight recaps on civictechwr.org - #193
Draft
adinschmidt wants to merge 2 commits into
Draft
adinschmidt wants to merge 2 commits into
adinschmidt wants to merge 2 commits into
Conversation
Posts in _posts/ use a new post layout and are served at /blog/<slug>/. The /blog/ index groups them by season. The nav Blog link now points here instead of civictechwr.github.io/blog. The default layout now loads CSS and JS from root-relative paths so pages below the site root find them.
Each post is adapted from an organizer's recap on Discourse and links back to the original.
|
🚀 Preview deployed to: https://civictechwr.org/pr-193/ |
This branch has not been deployed
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
Our weekly hacknight recaps only live on Discourse. They're written as internal notes, and the site's Blog link goes to a separate repo that hasn't been updated with them.
This adds a blog at
/blog/with 28 recaps from Season 3 to Season 9. Each one is rewritten for a public audience and links back to the original organizer's post on Discourse. The index groups posts by season, newest first. The nav Blog link now points to/blog/instead ofcivictechwr.github.io/blog/. Posts on the old blog stay where they are.Other changes:
/blog/<slug>/can find them.css/main.cssdrops some blank lines from the last time it was built. Stylelint adds back the ones it requires.Organizers approved the Season 9 Weeks 1 to 4 rewrites as a sample of the style. The older recaps follow the same approach and were checked against their Discourse sources for accuracy.
Screenshots
Blog index (1280px):
Post (390px):
Test plan
tests/e2e/blog.spec.jscovers the nav link, season ordering, and a post page loading site styles. The full E2E suite passes locally (87 tests)./blog/and a post page added to.pa11yci.json. All 5 URLs pass pa11y locally.npm run lint:css,lint:csp,lint:json, andlint:shellpass. markdownlint passes on_posts/, and htmlhint passes on the new templates.npm run testpasses.