It's probably easiest to just tweak the theme so it does what you want :-) On Tue, Dec 13, 2022 at 8:41 AM Angus McMorland <[email protected]> wrote:
> Hi, > > I'm trying to apply the canterville theme to a site (not a blog), so have > moved blog posts to /blog and pages to / as suggested in the documentation > <https://getnikola.com/creating-a-site-not-a-blog-with-nikola.html>. The > canterville theme includes a banner on pages labelled as 'main_index'... > > % if 'main_index' in pagekind and BANNER_URL : > <header class="main-header" style="background-image: > url(${BANNER_URL})"> > > Unfortunately, the main_index, and associated banner, now appears in > /blog/index.html not in /index.html. Is there anything I can add to my > pages/index.rst to force that one's index.html to be a main_index? Simply > adding the metadata .. pagekind: main_index didn't work; perhaps it was > overridden somewhere(?). > > Thanks, > > Angus > > -- > 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/5a621de2-aebf-468e-b91c-1d5a7973fdfen%40googlegroups.com > <https://groups.google.com/d/msgid/nikola-discuss/5a621de2-aebf-468e-b91c-1d5a7973fdfen%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/CALXDAfpjbuiFZDvwWJscETTXXyv8HB8Euj8N-NDyXEi3yfRjCw%40mail.gmail.com.
