Skip to content

Announcements feature + homepage refresh#814

Open
LukasWallrich wants to merge 2 commits into
mainfrom
announcements
Open

Announcements feature + homepage refresh#814
LukasWallrich wants to merge 2 commits into
mainfrom
announcements

Conversation

@LukasWallrich

Copy link
Copy Markdown
Contributor

What this adds

A news & announcements feature with real data, plus a refresh of the homepage top.

Announcements pipeline

  • scripts/create_announcements.R generates content/post/<slug> bundles (+ featured images) from a public "FORRT Announcements" Google Sheet (rows with Show = yes); caches an MD5 hash to no-op on unchanged data, normalises dates, and emits a <!--more--> divider.
  • .github/workflows/create_announcements.yml runs hourly and delivers the posts to the deploy as an artifact (no commit to main, no full data-processing run); deploy.yaml unpacks the artifact before the Hugo build.
  • Homepage announcements widget (3 recent cards) + dedicated /post/ page with category filters; cards render summaries as HTML so markdown (bold, links) and typographic entities display correctly.
  • Seeded with 11 real announcements: the last 5 newsletters + 6 site updates (AI-in-Metascience CfS, Peer Community In, Chinese glossary, Nowhere Lab, JUST-OS, Get Involved). Images sourced from Pixabay and hosted on Drive.

Homepage top refresh

  • Rotating-quote hero (replaces the wordmark hero), cycling key statements with a slide transition.
  • "What is FORRT?" restructured: logo + click-to-play video lightbox in one column, text beside.
  • Achievements & Awards merged into one two-column section.
  • Unified section-heading divider via a single CSS rule (drops the ad-hoc --- dividers).
  • JUST-OS hint bubble drops below the seal on mobile; newsletter "Subscribe" button themed teal.

Notes

🤖 Generated with Claude Code

LukasWallrich and others added 2 commits June 24, 2026 20:55
Adds a Google Sheet → R → Hugo announcements pipeline and surfaces it on
the homepage and a dedicated /post/ page, plus a redesigned homepage top.

Announcements
- scripts/create_announcements.R generates content/post/<slug> bundles from
  the "FORRT Announcements" sheet (rows with Show=yes); caches a hash to no-op
  on unchanged data. Dates normalised to YYYY-MM-DD.
- .github/workflows/create_announcements.yml runs it hourly and delivers the
  posts to the deploy as an artifact (no commit to main, no full data run);
  deploy.yaml unpacks the artifact before building.
- announcements widget (3 recent cards) + /post/ section page with category
  filters; shared announcement_card partial. Image-less cards get a brand accent.
- Seeded with 11 real announcements (last 5 newsletters + 6 site updates).

Homepage top
- Rotating-quote hero (hero_quotes widget) replacing the wordmark hero.
- "What is FORRT?" restructured: logo + click-to-play video lightbox in one
  column, text beside (ytlightbox shortcode; fancybox).
- Achievements & Awards merged into one two-column section.
- Unified section-heading divider via one CSS rule (drops ad-hoc `---`).
- JUST-OS bubble drops below the seal on mobile; newsletter button themed teal.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
- Regenerated content/post from the edited "FORRT Announcements" sheet:
  refreshed copy, featured images (Pixabay → Drive), and bold formatting.
- Build script now emits a <!--more--> divider so card teasers show only the
  description (not the trailing link).
- Cards render the summary as HTML so markdown (bold, links) and typographic
  entities (’, —) display correctly; image-less cards get a brand accent.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@LukasWallrich LukasWallrich requested a review from a team as a code owner June 24, 2026 19:55
@github-actions

Copy link
Copy Markdown
Contributor

⚠️ Image files/references in png/jpg format detected

Note that we generally rely on webp format for this webpage, so please consider converting these images to WebP format and updating references accordingly.

Image files:

  • content/post/2026-01-newsletter/featured.jpg
  • content/post/2026-02-newsletter/featured.jpg
  • content/post/2026-03-newsletter/featured.jpg
  • content/post/2026-04-newsletter/featured.jpg
  • content/post/2026-05-chinese-glossary/featured.jpg
  • content/post/2026-05-get-involved-page/featured.jpg
  • content/post/2026-05-just-os-chatbot/featured.jpg
  • content/post/2026-05-newsletter/featured.jpg
  • content/post/2026-05-nowhere-lab/featured.jpg
  • content/post/2026-06-ai-metascience-call/featured.jpg
  • content/post/2026-06-peer-community-in-partner/featured.jpg

References to image files:

  • layouts/partials/widgets/about_welcome.html: }}/hqdefault.jpg
  • layouts/shortcodes/ytlightbox.html: }}/hqdefault.jpg

@github-actions

Copy link
Copy Markdown
Contributor

✅ Spell Check Passed

No spelling issues found when checking 31 changed file(s)! 🎉

@LukasWallrich

LukasWallrich commented Jun 24, 2026

Copy link
Copy Markdown
Contributor Author

Staging Deployment Status

This PR has been successfully deployed to staging as part of an aggregated deployment.

Deployed at: 2026-06-25 10:12:12 UTC
Staging URL: https://staging.forrt.org

The staging site shows the combined state of all compatible open PRs.

@richarddushime

Copy link
Copy Markdown
Contributor

SINCE this is a major update and proposing new features
i m tagging @flavioazevedo to give a look

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