Open chalin opened 3 years ago
@chalin leaving these pages with this boilerplate was mainly to reduce the amount of nested complexity in these content files. AFAIK shortcodes can't be called within other shortcodes [though they can be "nested" in the same content file]. Partials can be called within shortcode templates, but that would have probably required that any desired Docsy shortcodes would be overridden as partials. I believe there also were some difficulties in getting Hugo to properly render these pages' table of contents with a nested shortcode/partial structure [unsure of whether this is an inherent limitation, or whether some kind of workaround exists].
Thanks for the details @aidanranney. Will have to think about this more.
@aidanranney, was there a reason why a layout wasn’t used for the About, Showcase and Community pages? There's to be enough raw HTML boilerplate to warrant a layout IMHO:
You might have mentioned why at some point, but I’m unsure whether this state of affairs is because of an inherent technical challenge / limitation or not.