Skip to content

ERC pages on ercs.ethereum.org missing header (Authors, etc.) and Table of Contents #1759

Description

@ryanio

The ERC layout (preamble table, Authors/Created metadata, auto-generated TOC) isn't being applied to any ERC pages on https://ercs.ethereum.org. The pages render with the default Minima theme instead of the eip layout.

Examples:

The same proposals on the EIPs site render correctly:

Root cause:

_config.yml (line 51) still scopes the eip layout to files under EIPS/:

defaults:
  -
    scope:
      path: "EIPS"
    values:
      layout: "eip"

But in this repo the proposals live under ERCS/, so the scope never matches and no layout is applied.

Suggested fix:

Change path: "EIPS" to path: "ERCS" in _config.yml. This is a site-wide change that affects every ERC page.

It would also be helpful if ercs.ethereum.org/ERCS/erc-N redirected to (or stayed consistent with) eips.ethereum.org/EIPS/eip-N so existing links don't drop the header/TOC.

Happy to open a PR if useful.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions