On Thu, 19 May 2022 at 11:06, Hartmut Goebel <[email protected]> wrote: > > Hi, > > being quite new toe nikola, I need to convert an existing website. > > Each page consists of several sections and is two-column, the design is based > on https://html5up.net/paradigm-shift: > > Left column: Headline, one or more lead texts, link to the next section > Right column: Text, images, galleries. > > In HTML it looks like this: > > <section id="first"> > <header> > <h2>Headline</h2> > <p>Some lead text</p> > <p>Possibly another lead text</p> > <a href="#second"><Link to next section on page</a> > </header> > <div class="content"> > <p>Lorem ipsum</p> > <p>Lorem ipsum</p> > images, galleries > </div> > </section> > <section id="second">...</section> > <section>...</section> > > The text is written in reSt (can still be change id required) and will be > maintained by a non-technical person. Thus any solution should be as simple > as possible. > > Questions: > > Is there some easy(!) way to group the left and right sides, to make them > stylable? (I already tried some directives, but did make one of ti work.) > Maybe putting some shortcode or role at the dividing point. > How can the links to the next section be generated automatically? > > Some more background: > > Its about 6 pages and max. 10 sections per page. So some solution collecting > sections into pages would be acceptable. > > Thanks in advance for any ideas > > -- > Regards > Hartmut Goebel > > | Hartmut Goebel | [email protected] | > | www.crazy-compilers.com | compilers which you thought are impossible | > > -- > 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/e35ef750-edcd-f505-9567-7156cf3c408b%40crazy-compilers.com.
You could probably use well-placed `.. raw:: html` blocks that add in the necessary HTML. You might also split your content into separate .rst files, tell the non-technical person to edit that, and then include them (via reST directives) into the real file with raw-html directives. -- 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/CAMw%2Bj7JZvN4VqzBMWJaNsdY%3Dmo22%3Dueev%3DL-mWuHfYSwN6v4Fw%40mail.gmail.com.
