On Mon, Oct 2, 2017 at 5:10 PM, Robert Munteanu <[email protected]> wrote:
> ...By reading the discussion at [1] it seems that we have to implement
> this ourselves in our templates - there is no placeholder support for
> articles...

Note that there's already a processContent method in the page template [0],
we could enhance that to call a suitable variable replacement method.

This can be enabled on a page basis by passing the "content" object to that
method and adding a front matter variable that enables this replacement -
to avoid conflicts with existing content.

-Bertrand

[0]
https://github.com/apache/sling-site/blob/master/src/main/jbake/templates/page.tpl

> [1]: https://groups.google.com/forum/#!topic/jbake-user/-vioxApSJ5A

Reply via email to