Re: [nikola-discuss] Dividing content into "left" and "right" column

2022-05-19 Thread Chris Warrick
On Thu, 19 May 2022 at 11:06, Hartmut Goebel
 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:
>
> 
>   
> Headline
> Some lead text
> Possibly another lead text
> 
>   
>   
> Lorem ipsum
> Lorem ipsum
> images, galleries
>   
> 
> ...
> ...
>
> 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  | h.goe...@crazy-compilers.com   |
> | 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 nikola-discuss+unsubscr...@googlegroups.com.
> 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 
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 nikola-discuss+unsubscr...@googlegroups.com.
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.


[nikola-discuss] Dividing content into "left" and "right" column

2022-05-19 Thread Hartmut Goebel

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:


  
    Headline
    Some lead text
    Possibly another lead text
    
  
  
    Lorem ipsum
    Lorem ipsum
    images, galleries
  

...
...

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  |h.goe...@crazy-compilers.com|
|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 nikola-discuss+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/nikola-discuss/e35ef750-edcd-f505-9567-7156cf3c408b%40crazy-compilers.com.