That worked! Exactly what I was looking for. Thanks
Arun On Friday, December 4, 2020 at 1:53:43 PM UTC-8 [email protected] wrote: > On Fri, 4 Dec 2020 at 17:29, Arun Persaud <[email protected]> wrote: > > > > Hi > > > > just getting started with Nikola. It looks great! I really like that you > can mix markdown, org-mode, and ipython notebooks! > > > > I'm wondering, if there is a way to access the type of the post inside > the templates. For example, I would like to only show the source link for > ipython notebooks, but not for the other types. > > > > Thanks > > > > Arun > > > > -- > > 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/ba3cdadb-2aea-4512-a2e2-a644e8af90d0n%40googlegroups.com > . > > You could access post.compiler.name in the template. > > -- > 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/816ddbe6-2ad7-4492-b8f1-f2c9529afff6n%40googlegroups.com.
