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.

Archive

Learn2 with git sync - welcome page independent from numeric chapters

Started by Muut Archive 9 years ago · 3 replies · 593 views
9 years ago

I want to achieve having a startpage that works independently from the numeric chapters. Just creating a new page does not work so I am a bit lost how to achieve that. Could someone please assist?

9 years ago

Hello @sabih, the Learn2 with Git Sync theme (a modified version of the Learn2 theme) does not really provide built-in support for something like that (from what I know).

Might hiding the Chapter #'s help? If so, you could do this by using the following CSS:

CSS
#sidebar ul.topics > li > a b
{
    visibility: hidden;
}
9 years ago

Hi Paul,

appreciate your answer. I was afraid of that but though the CSS solution does well. :) Thank you very much.

9 years ago

Actually, there is one option which might meet your needs:

1) Create a folder called 01.startpage
2) Renumber the existing folders, starting at 02. etc.
3) Create a markdown file in 01.startpagecalled docs.md
4) Enter your startpage content into the newly created file docs.md
5) Go to site config options and set your homepage to the new start page

Let me know if this works for you.

Suggested topics

Topic Participants Replies Views Activity
Archive · by Deleted User, 9 years ago
0 1279 9 years ago
Archive · by Muut Archive, 9 years ago
2 886 9 years ago
Archive · by Muut Archive, 9 years ago
2 4015 9 years ago
Archive · by Muut Archive, 9 years ago
1 2891 9 years ago
Archive · by Muut Archive, 9 years ago
3 1075 9 years ago