Skip to content
Grav 2.0 is officially stable. Read the announcement →

Community guidelines

Please keep discussions civil and on-topic. Repeated violations may lead to a temporary ban.

Content & Markdown

Modular page : modules did'nt appears

Started by byache 5 years ago · 3 replies · 650 views
5 years ago

Hello,
I'm trying to create a modular page, but the <section id="body"> in my html rendered contains nothing...

My site is under Grav 1.7, theme webfolio

last edited 05/03/21 by pamtbaau
5 years ago

simplest thing to check it makes sure that in your module content layout (pages) that there isn't a default.md, as this will take over priority over the modules.md .

Your modules page layout will be something like this

TXT
page
  --| modules.md  
    |-- _about
      |-- about.md
    |-- _section
      |-- section.md

is that correct , is that what you current have?
make sure there is a bit of content in the markdown files

Most themes will also dynamically create a menu link, are you seeing any pages displayed on your frontpage ?

Come back to us with a bit more info and see if we can get you running :)

last edited 05/03/21 by Spam Hater
5 years ago

@spamhater, actually your posted page structure doesn't really make sense now. You can use 3 backticks for code blocks

TXT
```
some code
    indented
```
TXT
some code
    indented

Or four spaces in front of every line

TXT
    1st line
        2nd line
TXT
1st line
    2nd line
👍 1
last edited 05/03/21 by Karmalakas
5 years ago

Have edited the item, didn't check it after I posted, was early morning lol, Think I have got it right this time. Thanks for the heads up 🙂

Suggested topics

Topic Participants Replies Views Activity
Content & Markdown · by Jochen, 8 months ago
6 94 8 months ago
Content & Markdown · by Ton Haarmans, 1 year ago
10 184 1 year ago
Content & Markdown · by Jan L'Am, 1 year ago
4 146 1 year ago
Content & Markdown · by Leonardo, 1 year ago
3 60 1 year ago
Content & Markdown · by belthasar, 1 year ago
4 254 1 year ago