Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

feat: embedded default theme and templates

Aperta
#6 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
35/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
csharp
Ambito
backend

Direzione di ricerca

Start by reading wwwroot/js/reload.js and tracing how embedded resources and template lookup currently work. The issue does not name implementation or test files, so locate the new-site, build, and new-theme entry points and relevant tests. Done means a no-theme site builds with usable styling, lookup follows site override > theme > embedded, and embedded templates can be overridden or ejected.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

c:templates p:medium t:feature

Current State

Only wwwroot/js/reload.js is embedded. A site without a theme renders bare content, and common partials
(SEO meta, OpenGraph, pagination, RSS, sitemap aside) must be copied into every theme.

Tasks

  • Embed a minimal default theme in the binary as the last lookup fallback
  • Embedded internal partials (_internal/opengraph.html, _internal/pagination.html, ...) themes can render
  • Lookup order: site overrides > theme > embedded
  • fanstatic new-theme --from-default to eject the embedded theme for customization

Acceptance Criteria

  • new-site + build with no theme produces a usable, styled site
  • Any embedded template can be overridden by placing a file at the same relative path

Related

Lingua principale
C#
Stelle
1
Fork
0
Merge medio
10h 23m
PR unite (30g)
4

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di MASS4ORG/Fanstatic

Tutte le issue di MASS4ORG/Fanstatic

Issue simili

Altre issue su C#

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.