Skip to content

Get a better hook for {{ .Content }} in Docsy without having to copy/paste single/list.html #12

@mhansen

Description

@mhansen

I think if we changed docsy to where it says {{ .Content }} in docs/list.html and docs/single.html, to instead say {{ .Render ".hookable-content.html" }} or something, and had hookable-content.html look contain {{ .Content }} this would make it a lot easier to build sites like Profilerpedia where we have a few repeated templates for different data types, but still want Docsy's title, tags, comments & feedback, without having to copy single.html and list.html.

Work with the Docsy team on this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions