Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Tag attibutres for body and html created twice.

オープン
#4 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
35/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
html
領域
frontend

調査の方向性

issue では、ソースファイル、テスト、エントリポイントのいずれも特定されていません。まず、示されている html と body のマークアップを生成するテンプレートまたはレンダリングパスを特定します。各属性が意図した値で一度だけ出力され、レンダリングされた出力に重複した class 属性や vocab 属性が含まれなくなれば完了です。

索引モデルが issue の本文から書いたものです。

説明

In the HTML tag class is created twice:
<html lang="en" dir="ltr" prefix="content: http://purl.org/rss/1.0/modules/content/ dc: http://purl.org/dc/terms/ foaf: http://xmlns.com/foaf/0.1/ og: http://ogp.me/ns# rdfs: http://www.w3.org/2000/01/rdf-schema# schema: http://schema.org/ sioc: http://rdfs.org/sioc/ns# sioct: http://rdfs.org/sioc/types# skos: http://www.w3.org/2004/02/skos/core# xsd: http://www.w3.org/2001/XMLSchema# " class="no-js" class="path-frontpage page-node-type-landing-page has-glyphicons">

--> class="no-js" class="path-frontpage page-node-type-landing-page has-glyphicons"

In the body tag, some attributes are more than necessary:
<body class="path-frontpage page-node-type-landing-page has-glyphicons" class="path-frontpage page-node-type-landing-page has-glyphicons" vocab="http://schema.org/" class="path-frontpage page-node-type-landing-page has-glyphicons" vocab="http://schema.org/" typeof="WebPage">

3 class attributes
2 vocab attributes

主要言語
Twig
スター
4
フォーク
0
PR マージ指標
30日以内にマージされた PR はありません

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

似ている issue

Web Dev の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。