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/CAMw%2Bj7%2BVT64ACGF9e-4grH-SoSw18f0jRcY40N-yEkXkKGJ8CQ%40mail.gmail.com.
