how do landing page and other pages relate? #97
-
Landing page is a really powerful feature of doks theme, but there might be a more simple case for documentation where one just wants to get to So far my understanding is that https://github.com/h-enk/doks/blob/master/content/_index.md is extended with |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
You could just:
|
Beta Was this translation helpful? Give feedback.
-
I took a route of copying Another thing I tried before this was to assign |
Beta Was this translation helpful? Give feedback.
I took a route of copying
\layouts\docs\single.html
as\layouts\index.html
which allows to reflect the left-side TOC on the first page, also commented out secondary TOC.Another thing I tried before this was to assign
url="/"
in front matter - but when you do that to some document that is on a tree likecontent/docs/prologue/introduction.md
- that document is forced into othre URL and will not show ascontent/docs/prologue/introduction
(404 error). That makes one think a landing page must still becontent\_index.md
controlled by\layouts\index.html
. Hope this is a good path. )