CLEANUP: Unused template + content
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 38/100
- issue の種類
- リファクタリング
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 技術スタック
- css, html
- 領域
- web-dev
調査の方向性
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.
索引モデルが issue の本文から書いたものです。
説明
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?
- 主要言語
- HTML
- スター
- 146
- フォーク
- 40
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
EthicalSource/ethicalsource.dev のほかの issue
-
FEATURE: Nav isn't responsive on mobile or smaller windows対応中かも @jerdog が 795 日前に担当しました。 オープン
EthicalSource/ethicalsource.dev#146 · 担当者 2 名 ·
-
難易度 5/5 1週間以上 初心者へのやさしさ 15/100
EthicalSource/ethicalsource.dev#51 · コメント 2 件 ·
-
難易度 5/5 1週間以上 初心者へのやさしさ 15/100
EthicalSource/ethicalsource.dev#50 · コメント 10 件 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 20/100
EthicalSource/ethicalsource.dev#44 · コメント 1 件 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 15/100
EthicalSource/ethicalsource.dev#43 · コメント 2 件 ·
EthicalSource/ethicalsource.dev の issue をすべて見る
似ている issue
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 67/100
datasektionen/cashflow#468 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
zabuton-app/meguri#875 ·
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 86/100
iruzen-dono/workless#117 ·
メンテナーはふだん 1 日以内に返信
-
area:web wave wave:trivial
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
メンテナーはふだん 1 日以内に返信