open-data / open-data/gcweb_bootstrap

Tag attibutres for body and html created twice.

Open
#4 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Twig
Stars
4
Forks
0
PR merge metrics
No merged PRs in 30d

Description

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

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No source file, test, or entry point is identified in the issue. Start by locating the template or rendering path that produces the shown html and body markup; done means each attribute is emitted once with the intended values and the rendered output no longer contains duplicate class or vocab attributes.

Written by the indexing model from the issue text.

Assessment

Tech stack
html
Domain
frontend
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.