Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

feat: embedded default theme and templates

Đang mở
#6 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức phù hợp với người mới
35/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
csharp
Lĩnh vực
backend

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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

Ngôn ngữ chính
C#
Star
1
Fork
0
Merge trung bình
10 giờ 23 phút
Pull request đã merge (30 ngày)
4

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của MASS4ORG/Fanstatic

Tất cả issue của MASS4ORG/Fanstatic

Issue tương tự

Thêm issue về C#

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.