Yes - works perfectly!

Thanks,
Lars

On Wed, Mar 08, 2023 at 12:50:49PM -0300, Roberto Alsina wrote:
> On Wed, Mar 8, 2023 at 12:35 PM Lars Bjørndal <[1][email protected]> wrote:
> 
>     On Sun, Feb 12, 2023 at 01:49:34PM -0300, Roberto Alsina wrote:
>     > Use the "template" metadata. There are details in the docs and examples
>     in the
>     > demo site.
> 
>     Thank you. I'm using the bottstrap4 theme. Is it then the base_helper.tmpl
>     file I need to modify?
> 
> 
> 
> I was thinking more along these lines:
> 
> 1) For the special pages, set the "template" metadata to something like
> "podcast.tmpl"
> 2) Create templates/podcast.tmpl
> 
> 
> Let's say you want this to look like a normal page, just with that extra link
> in the HEAD part. That means you want it to behave a lot like page.tmpl
> 
> So, the template could be something like this (not tested, probably not 100%
> right):
> 
> <%inherit file="page.tmpl"/>
> <%block name="extra_head">
>     ${parent.extra_head()}
> 
> AND HERE ADD THE STUFF YOU WANT
> 
> </%block>
> 
> 
>  
> 
>     Thanks
> 
>     Lars
> 
>     > On Sun, Feb 12, 2023, 1:16 PM Lars Bjørndal <[1][2][email protected]>
>     wrote:
>     >
>     >     Thank you. Sounds good. But how do I use a specific template only 
> for
>     >     certain pages on a site?
>     >
>     >     Thanks
>     >
>     >     Lars
>     >
>     >     On Sun, Feb 12, 2023 at 10:00:06AM -0300, Roberto Alsina wrote:
>     >     > Only ways that come to mind is to use a different template for 
> each
>     page
>     >     that
>     >     > adds the required link, or use JavaScript to inject it, but that's
>     not
>     >     going to
>     >     > be very useful.
>     >     >
>     >     > On Sun, Feb 12, 2023, 7:26 AM Lars Bjørndal <[1][2][3]
>     [email protected]>
>     >     wrote:
>     >     >
>     >     >     Hi list!
>     >     >
>     >     >     Some pages on a site does present a podcast. How can I add a
>     Link to
>     >     the
>     >     >     rss feed for the podcast in the head section? Can I somehow do
>     it in
>     >     the
>     >     >     .rst file?
>     >     >
>     >     >     Thanks in advance
>     >     >     Lars
>     >     >
>     >     >     --
>     >     >     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 [2][3][4][email protected].
>     >     >     To view this discussion on the web visit [3][4]https://
>     >     [5]groups.google.com/d/
>     >     >     msgid/nikola-discuss/m3357bw55t.fsf%[5][6]40dalen.lamasti.net.
>     >     >
>     >     > --
>     >     > 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 [4][6][7][email protected].
>     >     > To view this discussion on the web visit [5][7][8]https://
>     groups.google.com/
>     >     d/msgid/
>     >     > nikola-discuss/
>     >     > CALXDAfp8rKZ0sN%3DJQZb5razeU7eZpDr9zdz_01UBZWLtS0UVQg%[8][9]
>     40mail.gmail.com
>     >     .
>     >     >
>     >     > References:
>     >     >
>     >     > [1] mailto:[9][10][email protected]
>     >     > [2] mailto:[10][11]nikola-discuss%[email protected]
>     >     > [3] [11][12]https://groups.google.com/d/msgid/nikola-discuss/
>     >     [13][email protected]
>     >     > [4] mailto:[12][14][email protected]
>     >     > [5] [13][15]https://groups.google.com/d/msgid/nikola-discuss/
>     CALXDAfp8rKZ0sN=
>     >     [16][email protected]?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 [14][17][email protected].
>     >     To view this discussion on the web visit [15][18]https://
>     groups.google.com/d/
>     >     msgid/nikola-discuss/Y%2BkQ0BOcAvKfOktg%[19]40lamasti.net.
>     >
>     > --
>     > 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 [16][20][email protected].
>     > To view this discussion on the web visit [17][21]https://
>     groups.google.com/d/msgid/
>     > nikola-discuss/
>     > 
> CALXDAfq2Z2NbVQkzT7gwmsdWDJA926H4mqc43xk4XKkXAym7gw%[22]40mail.gmail.com.
>     >
>     > References:
>     >
>     > [1] mailto:[23][email protected]
>     > [2] mailto:[24][email protected]
>     > [3] mailto:[25]nikola-discuss%[email protected]
>     > [4] [26]https://groups.google.com/d/
>     > [5] [27]http://40dalen.lamasti.net/
>     > [6] mailto:[28]nikola-discuss%[email protected]
>     > [7] [29]https://groups.google.com/d/msgid/
>     > [8] [30]http://40mail.gmail.com/
>     > [9] mailto:[31][email protected]
>     > [10] mailto:[32]nikola-discuss%[email protected]
>     > [11] [33]https://groups.google.com/d/msgid/nikola-discuss/
>     [email protected]
>     > [12] mailto:[34]nikola-discuss%[email protected]
>     > [13] 
> [35]https://groups.google.com/d/msgid/nikola-discuss/CALXDAfp8rKZ0sN
>     [email protected]?utm_medium=email&
>     utm_source=footer
>     > [14] mailto:[36]nikola-discuss%[email protected]
>     > [15] [37]https://groups.google.com/d/msgid/nikola-discuss/
>     y%[email protected]
>     > [16] mailto:[38][email protected]
>     > [17] [39]https://groups.google.com/d/msgid/nikola-discuss/
>     calxdafq2z2nbvqkzt7gwmsdwdja926h4mqc43xk4xkkxaym...@mail.gmail.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 [40][email protected].
>     To view this discussion on the web visit [41]https://groups.google.com/d/
>     msgid/nikola-discuss/ZAirMMODKgONTnAW%40lamasti.net.
> 
> --
> 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 [42][email protected].
> To view this discussion on the web visit 
> [43]https://groups.google.com/d/msgid/
> nikola-discuss/
> CALXDAfrqbKB0c-g7P4zecj3n3g77h6Knt57J%2BjSYqf-g4SjUow%40mail.gmail.com.
> 
> References:
> 
> [1] mailto:[email protected]
> [2] mailto:[email protected]
> [3] mailto:[email protected]
> [4] mailto:nikola-discuss%[email protected]
> [5] http://groups.google.com/d/
> [6] http://40dalen.lamasti.net/
> [7] mailto:nikola-discuss%[email protected]
> [8] https://groups.google.com/
> [9] http://40mail.gmail.com/
> [10] mailto:[email protected]
> [11] mailto:nikola-discuss%[email protected]
> [12] https://groups.google.com/d/msgid/nikola-discuss/
> [13] mailto:[email protected]
> [14] mailto:nikola-discuss%[email protected]
> [15] https://groups.google.com/d/msgid/nikola-discuss/CALXDAfp8rKZ0sN=
> [16] 
> http://[email protected]/?utm_medium=email&;
> [17] mailto:nikola-discuss%[email protected]
> [18] https://groups.google.com/d/
> [19] http://40lamasti.net/
> [20] mailto:nikola-discuss%[email protected]
> [21] https://groups.google.com/d/msgid/
> [22] http://40mail.gmail.com/
> [23] mailto:[email protected]
> [24] mailto:[email protected]
> [25] mailto:nikola-discuss%[email protected]
> [26] https://groups.google.com/d/
> [27] http://40dalen.lamasti.net/
> [28] mailto:nikola-discuss%[email protected]
> [29] https://groups.google.com/d/msgid/
> [30] http://40mail.gmail.com/
> [31] mailto:[email protected]
> [32] mailto:nikola-discuss%[email protected]
> [33] 
> https://groups.google.com/d/msgid/nikola-discuss/[email protected]
> [34] mailto:nikola-discuss%[email protected]
> [35] 
> https://groups.google.com/d/msgid/nikola-discuss/CALXDAfp8rKZ0sN=jqzb5razeu7ezpdr9zdz_01ubzwlts0u...@mail.gmail.com?utm_medium=email&utm_source=footer
> [36] mailto:nikola-discuss%[email protected]
> [37] 
> https://groups.google.com/d/msgid/nikola-discuss/y%[email protected]
> [38] mailto:nikola-discuss%[email protected]
> [39] 
> https://groups.google.com/d/msgid/nikola-discuss/calxdafq2z2nbvqkzt7gwmsdwdja926h4mqc43xk4xkkxaym...@mail.gmail.com?utm_medium=email&utm_source=footer
> [40] mailto:nikola-discuss%[email protected]
> [41] 
> https://groups.google.com/d/msgid/nikola-discuss/[email protected]
> [42] mailto:[email protected]
> [43] 
> https://groups.google.com/d/msgid/nikola-discuss/calxdafrqbkb0c-g7p4zecj3n3g77h6knt57j%[email protected]?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/ZAmLn3/kKnsIjYio%40lamasti.net.

Reply via email to