Option 1 is good. I initially tried that but had been using v8.2.3 and it failed because of multiple index.html targets.
On Monday, May 1, 2023 at 4:51:53 AM UTC-4 [email protected] wrote: > On Mon, 1 May 2023 at 06:53, Mitch Berkson <[email protected]> wrote: > > > > So what I'd like is for the initial page to be served from > /output/home/index.html instead of /output/index.html. > > > > On Sunday, April 30, 2023 at 6:18:39 PM UTC-4 Mitch Berkson wrote: > > > > When using this, I'd like the home page to be displayed directly instead > of needing to click the first link. I'm imagining a condition in list.tmpl > which would put the html from a home.md file into the content block instead > of a link to it. But maybe that can't be done using PAGE_INDEX? > > I'm not sure I understand your question. > > If you want to display *only* the custom content, you can put your > content in /pages/index.md with the slug set to index. (This might be > broken in versions older than Nikola v8.2.4.) > If you want to display *both* the custom content and the list of > pages, the easiest way to do it would be to put your custom content as > HTML within list.tmpl, and use {% if 'front_page' in pagekind %} to > control if it’s displayed. > If you want visitors going to / to be redirected to /home/, don’t. > > -- > Chris Warrick <https://chriswarrick.com/> > PGP: 5EAAEA16 > -- 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/16ff2f56-d236-4d90-87bd-26beb1d07603n%40googlegroups.com.
