Hacktoberfest 2026 : les issues que les mainteneurs ont marquées pour octobre, ouvertes et accessibles aux débutants. Parcourir les issues Hacktoberfest

Add the Updated Post blog template (`blog-updated-post`)

Ouverte
#289 3 commentaires 0 réactions 1 personne assignée Voir sur GitHub

Les mainteneurs répondent en général sous 1 jour

@sank8-2 y travaille déjà.

Depuis le 27/10/2026.

  • #291 par @sank8-2 — ouverte

Évaluation

Cette issue n'a pas encore été évaluée.

Description

good first issue hacktoberfest templates

Part of #5. For posts that were refreshed and want to say what changed.

Idea
A small "Updated" label in the accent color at the top, the post title large under it ("A practical guide to React Server Components"), and a dates line under that ("First published Mar 3, 2024" and "Updated Oct 27, 2026"). Then up to three short lines under a "What changed" heading ("Covers React 19", "New section on server actions", "Fixed the broken examples"), and the site name at the bottom.

Template details

  • File: src/templates/blog/updated-post.ts, id blog-updated-post
  • Fields: commonFields.title, published (text, optional, default "First published Mar 3, 2024"), updated (text, optional, default "Updated Oct 27, 2026"), change1 to change3 (text, optional, defaults "Covers React 19", "New section on server actions" and "Fixed the broken examples"), commonFields.siteName, commonFields.bgColor, commonFields.accentColor, commonFields.textColor

Where to look

  • Closest reference: src/templates/blog/table-of-contents.ts (a short list where blank rows are skipped), src/templates/event/rescheduled.ts (an old date and a new one on the same card)

Acceptance criteria

  • A long title shrinks with autoFontSize() and then truncates, blank change lines are skipped with no gaps, and the "What changed" heading hides when all three are blank
  • An empty published, updated or site name (or only spaces) hides cleanly, and the label and any accent text stay readable on a light background
  • Re-exported in src/templates/blog/index.ts and registered in the Blog block of src/templates/registry.ts
  • Meets the shared template checklist in #5

One template per contributor at a time, so more people get a chance.


Want to work on this? Comment below and I'll assign it to you. Please take one issue at a time, branch off dev, and open your PR against dev with Closes #289 in the description.

Langage dominant
TypeScript
Étoiles
8
Forks
4
Merge moyen
8 h 14 min
PR mergées (30 j)
120

Préparer son environnement

Par où commencer

  1. Lisez l'issue en entier, puis le guide de contribution du projet.
  2. Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
  3. Forkez le dépôt et travaillez sur une branche.
  4. Ouvrez une pull request qui référence le numéro de l'issue.

Autres issues de codercops/ogcops

Toutes les issues de codercops/ogcops

Issues similaires

Plus d'issues TypeScript

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.