How to correctly create reused sections in Pug (jade) that are connected via include on multi-page sites

enter a description of the image here

enter a description of the image here

On the screenshots, the page-preview block is highlighted, which changes on different pages of the site(the text, design, etc.). I created a separate file _page-preview. pug, in which I described the markup of this block for the blog page:

section.page-preview.page-preview_dash.container
    h2.page-preview__title Our Blog
    p.page-preview__text.
        Here's where we address the burning questions. From new tech, creative inspiration and new business wins to movie reviews. It's all here in our journal.

And connected it to blog. pug via include. Question: how do I now connect _page-preview. pug to the second page by adding a few changes to it, namely: 1) add a modifier page-preview_bg_blue (I use BEM) 2) change the block text 3) remove the page-preview_dash modifier 4) it is possible to additionally add or remove some element from _page-preview. pug(for example, some button)

If you write in html, then there are no problems at all, but I can not understand how to create reusable blocks on pug. I have seen that this is done with the help of mixins, passing the header text, modifiers, etc. to arguments. But I am confused that in large sections you will get a mixin with 999+ parameters. I will be glad to have any ideas on how to do this better. So far, I stopped at the fact that I just created a separate file _page-preview-in-approach.pug in which I inserted the markup with the changes.

Author: Midia002, 2020-11-08