profilerpedia icon indicating copy to clipboard operation
profilerpedia copied to clipboard

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

Open mhansen opened this issue 4 years ago • 1 comments

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.

mhansen avatar Oct 30 '21 01:10 mhansen

Filed https://github.com/google/docsy/issues/762 on Docsy

mhansen avatar Nov 09 '21 23:11 mhansen