Hello Aleksey,
We’d like to provide open source modular theming examples accessible on GitHub sometime in the future, but hopefully this will answer your question in the short term.
The contents of the community-posts
module’s partials.js
file are as follows:
const communityPostsListItem = `