I created the template for sections. \layouts\section\baseof.html
Inside, I placed the block.
{{ block "main" . }}
default code
{{ end }}
For several sections, In the folder \layouts\section, I defined the code to replace the block and this code works normally. Also, I want that for sections for which a replacement is not defined, the default code written inside the block was executed. But instead, the template is executed \layouts\_default\list.html
It looks illogical. Maybe it’s a flaw in the algorithm?