CLEANUP: Unused template + content
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 38/100
- Loại issue
- Tái cấu trúc
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Đình trệ
- Công nghệ
- css, html
- Lĩnh vực
- web-dev
Hướng nghiên cứu
Start by running hugo --printUnusedTemplates and review the listed files: layouts/_default/translations.html, layouts/partials/publication.html, and the unused shortcodes under layouts/shortcodes/. Trace whether the templates, content, and CSS are referenced elsewhere. Done means each item has a documented reason to remain or is safely removed, with the Hugo build still succeeding.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
While looking into #146 , I noticed that there is a lot of content + css that is unused and looks to be left over from a previous version of the site. Running hugo --printUnusedTemplates returns:
$ hugo --printUnusedTemplates
Start building sites …
hugo v0.135.0+extended darwin/arm64 BuildDate=2024-09-27T13:17:08Z VendorInfo=brew
WARN Template _default/translations.html is unused, source file /Users/jerdog/dev/EthicalSource/ethicalsource.dev/layouts/_default/translations.html
WARN Template partials/publication.html is unused, source file /Users/jerdog/dev/EthicalSource/ethicalsource.dev/layouts/partials/publication.html
WARN Template shortcodes/data-list.html is unused, source file /Users/jerdog/dev/EthicalSource/ethicalsource.dev/layouts/shortcodes/data-list.html
WARN Template shortcodes/gallery.html is unused, source file /Users/jerdog/dev/EthicalSource/ethicalsource.dev/layouts/shortcodes/gallery.html
WARN Template shortcodes/publication.html is unused, source file /Users/jerdog/dev/EthicalSource/ethicalsource.dev/layouts/shortcodes/publication.html
WARN Template shortcodes/section.html is unused, source file /Users/jerdog/dev/EthicalSource/ethicalsource.dev/layouts/shortcodes/section.html
| EN
-------------------+------
Pages | 123
Paginator pages | 0
Non-page files | 5
Static files | 118
Processed images | 6
Aliases | 4
Cleaned | 0
Total in 53 ms
Is there a reason to keep this content around? Does it need incorporated into the existing site?
- Ngôn ngữ chính
- HTML
- Star
- 146
- Fork
- 40
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- 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.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của EthicalSource/ethicalsource.dev
-
FEATURE: Nav isn't responsive on mobile or smaller windowsCó thể đã có người làm @jerdog đã nhận 795 ngày trước. Đang mở
EthicalSource/ethicalsource.dev#146 · 2 người được giao ·
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 15/100
EthicalSource/ethicalsource.dev#51 · 2 bình luận ·
-
What threshold for enforceability do we want to consider when suggesting an ethical license?Đang mở
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 15/100
EthicalSource/ethicalsource.dev#50 · 10 bình luận ·
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 20/100
EthicalSource/ethicalsource.dev#44 · 1 bình luận ·
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 15/100
EthicalSource/ethicalsource.dev#43 · 2 bình luận ·
Tất cả issue của EthicalSource/ethicalsource.dev
Issue tương tự
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 67/100
datasektionen/cashflow#468 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
zabuton-app/meguri#875 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 86/100
iruzen-dono/workless#117 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
area:web wave wave:trivial
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
Maintainer thường phản hồi trong vòng 1 ngày