EC-CUBE / EC-CUBE/ec-cube

<h1>タグを柔軟に設定したい

Open
#5,050 0 comments 0 reactions 0 assignees View on GitHub
enhancement seo
Dominant language
PHP
Stars
788
Forks
719
Avg merge
3d 20h
Merged PRs (30d)
45

Description

## 概要(Overview)

EC-CUBE のデフォルトのテンプレートでは `

` タグにショップ名が入るようになっている。

https://github.com/EC-CUBE/ec-cube/blob/4.0/src/Eccube/Resource/template/default/Block/logo.twig#L15-L19

SEO の観点から `

` タグにはカテゴリ名や商品名などそのページの本質的な内容が設定できるようにしたい。

## 期待する内容(Expect) or 要望 (Requirement)

どの程度自由度を持たせるかは要検討

### 環境 (environment)
+ EC-CUBE: 4.1

## 関連情報 (Ref)

Contributor guide

Open the contributing guide

Research direction

Start with src/Eccube/Resource/template/default/Block/logo.twig#L15-L19 to understand how the default shop name is placed in the h1 tag. The issue still requires a design decision about how much flexibility to provide, and completion would need a defined way for category and product pages to use their essential content in the h1.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
frontend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.