Copy your template's index.tmpl to your site: nikola theme -c index.tmpl
Edit the new file you got, and look for something like % for post in posts: That is the piece of template that iterates over the shown posts and displays information. Delete stuff :-) On Wed, Mar 15, 2023 at 9:38 AM Paul Moore <[email protected]> wrote: > I'd like a much more "minimal" style for my index pages, so that the list > of posts is more visible (the default for obscures it with the *content* of > the pages). I've tried using teasers, but the need to set an explicit > teaser marker, coupled with the fact that the teaser regexp is matched > against the rendered content makes it feel really clumsy for my needs. > > Rather than fighting the teaser mechanism, I therefore decided to just go > with post titles, but I can't find a way to configure Nikola to just > display the post title. Do I need to create a new theme for this? I've been > avoiding looking at themes, because my design skills suck. > > I guess an alternative would be if there's already a theme that has a > "clean" look with a titles-only (or titles-plus-automatic-teaser) index, > like the Hugo PaperMod theme (I was tempted to switch to Hugo just for this > theme, but the Markdown implementation is annoyingly limited). I didn't see > one in the gallery - is there anywhere else I could look? > > Paul > > -- > 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/2f6c6f61-a154-4abd-bf9a-b7428d1ce43dn%40googlegroups.com > <https://groups.google.com/d/msgid/nikola-discuss/2f6c6f61-a154-4abd-bf9a-b7428d1ce43dn%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/CALXDAfqfwP%3DXH0vtRO9MnbH_dLk%2B7pEEe4RZp1CsDhE8n5MeGw%40mail.gmail.com.
