On Mon, Jul 20, 2020 at 5:43 AM [email protected] <[email protected]>
wrote:

> Ok, but how concretely do it ?
>
>
Exactly as described. Just create a tree structure inside pages. it will be
reflected in the output.

So, if this works:

pages/foo.md => output/foo/index.html

This also works:

pages/pages/foo.md => output/pages/foo/index.html



> Le lundi 20 juillet 2020 à 10:35:31 UTC+2, Roberto Alsina a écrit :
>
>> Or not even, just do a tree structure inside pages/
>>
>> So, if you have pages/ producing out put in /, pages/pages will output in
>> /pages :-)
>>
>> On Mon, Jul 20, 2020 at 5:34 AM Roberto Alsina <[email protected]> wrote:
>>
>>> You still can do that. Just add more rows to PAGES
>>>
>>> On Mon, Jul 20, 2020 at 5:33 AM [email protected] <[email protected]>
>>> wrote:
>>>
>>>> It works ! Thanks.
>>>> I loved the capabilities to separate output in Pages but that's life.
>>>>
>>>> FR.
>>>>
>>>> Le dimanche 19 juillet 2020 à 21:09:41 UTC+2, Martin McCallion a écrit :
>>>>
>>>>> Hi François-Régis,
>>>>>
>>>>> You said:
>>>>>
>>>>> But this created a /output/pages/index.html not a /output.index.html
>>>>>
>>>>> I think this is because of one of the settings in PAGES in your
>>>>> conf.py. My pages deploy into my site's root, and my PAGES looks like
>>>>> this:
>>>>>
>>>>> PAGES = (
>>>>>     ("pages/*.md", "", "page.tmpl"),
>>>>>     ("pages/*.rst", "", "page.tmpl"),
>>>>>     ("pages/*.txt", "", "page.tmpl"),
>>>>>     ("pages/*.html", "", "page.tmpl"),
>>>>> )
>>>>>
>>>>> I think it's because the second value in each case is set to the empty
>>>>> string, "". You probably have "pages" in there, which is why your HTML
>>>>> files end up in /output/pages.
>>>>>
>>>>> HTH.
>>>>>
>>>>> Cheers,
>>>>>
>>>>> Martin
>>>>> --
>>>>> Martin McCallion
>>>>> https://devilgate.org/blog/
>>>>> @devilgate (Micro.blog and Twitter)
>>>>>
>>>>> On 19 Jul 2020, at 18:47, François-Régis Chalaoux wrote:
>>>>>
>>>>> Hi All,
>>>>>
>>>>> I'm trying to produce a site not a blog. I followed
>>>>> https://getnikola.com/creating-a-site-not-a-blog-with-nikola.html
>>>>> recipe but I have a problem, the root file (root index.html of this site 
>>>>> is
>>>>> not the one I'm trying to produce), an other one is created in
>>>>> /output/index.html and is 'empty', only the menu
>>>>>
>>>>>
>>>>> I tried to create an index.html with a index.rst with :
>>>>>
>>>>> .. title: index
>>>>> .. hidetitle: True
>>>>> .. slug: index
>>>>> .. date: 2020-03-18 15:32:37 UTC+01:00
>>>>> .. tags:
>>>>> .. category:
>>>>> .. link:
>>>>> .. description:
>>>>> .. type: text
>>>>>
>>>>> blablabla ...
>>>>>
>>>>> But this created a /output/pages/index.html not a /output.index.html
>>>>>
>>>>> I can't resolve to how to edit a index.rst and produce
>>>>> /output/index.html file. This file seems created automatically in output
>>>>> directory.
>>>>>
>>>>> Help are welcome !
>>>>>
>>>>>
>>>>> François-Régis
>>>>>
>>>>>
>>>>> --
>>>>> You received this message because you are subscribed to the Google
>>>>> Groups "nikola-discuss" group.
>>>>> To unsubscribe from this group and stop receiving emails from it, send
>>>>> an email to [email protected].
>>>>> To view this discussion on the web visit
>>>>> https://groups.google.com/d/msgid/nikola-discuss/73469c68-a5e8-4dbf-880a-b2f45e16503bo%40googlegroups.com
>>>>> <https://groups.google.com/d/msgid/nikola-discuss/73469c68-a5e8-4dbf-880a-b2f45e16503bo%40googlegroups.com?utm_medium=email&utm_source=footer>
>>>>> .
>>>>>
>>>>> --
>>>> You received this message because you are subscribed to the Google
>>>> Groups "nikola-discuss" group.
>>>> To unsubscribe from this group and stop receiving emails from it, send
>>>> an email to [email protected].
>>>> To view this discussion on the web visit
>>>> https://groups.google.com/d/msgid/nikola-discuss/e2ea363f-5435-41e3-b683-bb96477b7a57n%40googlegroups.com
>>>> <https://groups.google.com/d/msgid/nikola-discuss/e2ea363f-5435-41e3-b683-bb96477b7a57n%40googlegroups.com?utm_medium=email&utm_source=footer>
>>>> .
>>>>
>>> --
> You received this message because you are subscribed to the Google Groups
> "nikola-discuss" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/nikola-discuss/42877a2e-b149-4029-af76-0de8d882260cn%40googlegroups.com
> <https://groups.google.com/d/msgid/nikola-discuss/42877a2e-b149-4029-af76-0de8d882260cn%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"nikola-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/nikola-discuss/CALXDAfrmN-YeoNjjBOB1uRH7XmkSKVY1xyq4G1r-qEyWcWoa3Q%40mail.gmail.com.

Reply via email to