Skip to content

Duplicate partial inclusion in head.html and head-end.html #775

Open
@chalin

Description

@chalin

@aidanranney: this is a Docsy migration followup question concerning these issues:

Investigating this a bit I noticed the following:

(1) https://github.com/grpc/grpc.io/blob/main/layouts/partials/hooks/head-end.html contains:

{{ partial "google-analytics.html" . }}
{{ partial "meta.html" . }}
{{ partial "favicons.html" . }}

(2) But https://github.com/grpc/grpc.io-docsy/blob/e95da39c9933afe159b74b0d6b5b71407aab7d7d/layouts/partials/head.html:

  • Also contains
    • <meta> tags
    • A partial for favicons
    • A partial for Google analytics
  • As well as an include of head-end.html at the end of the file.

I'm sure that the duplication wasn't intentional, but what was the original intent? Was head-end.html created by mistake, or was the intent to customize head.html (by removing the elements that were being added to head-end.html)?

/cc @nate-double-u @celestehorgan

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions