clear the cache when you make changes to a modular template
you need to be more specific, and share modular (if it modified) + module page file .md and template .html.twig (if we are talking about the module itself), so the community can help
@avolve, You keep repeating that variable content contains the body and title of the page, while others claim it doesn’t, which I agree with.
{{ content|raw }} does not output the value of {{ page.header.title }}
Would you mind providing us some proof for your claim?
Please download the One-Page Site skeleton, which is a plain Quark based site containing a single modular page.
The modular itself and each of its modules have a title set in the frontmatter/header of the file.
Could you show us where the title from the header of the modular page, or any of its modules, appears in the output (the generated HTML) of the page?
The only title I can find in the generated HTML is the title of the modular.md which appears in the <head> of the page.
@avolve, I’m sorry you perceive my reply as passive aggressive. It certainly wasn’t intended that way.
I also don’t believe that you are lying. I do believe you are seeing something happening on your site that leads to the impression that {{ content }} contains the title.
Maybe me not being a native speaker made me use a sensitive tone of voice.
In an attempt to resolve the looping yes/no discussion, I wanted to go back to a default repeatable configuration to establish that {{ content | raw }} does, or does not, print the title from the header. After getting the yes/no out of the way, we can progress and help you getting the result you’re trying to implement.
Well… You’re definitely not telling a full story here. You say your MD has only header without body, but you see title AND the body in your content. You never provided how the body of your MD looks. Based on the resolution of the topic, I assume there was a # Title in your MD body