You could create a template just for that page and add a extra_head block in it.
On Mon, Sep 9, 2019 at 5:19 PM Alberto Mardegan <ma...@users.sourceforge.net> wrote: > Hi there! > I need to add a certain <link> element inside the <head> section of my > homepage, but I couldn't find out how it works. For the time being I've > added the header in the EXTRA_HEAD_DATA variable in my conf.py, and while > it works, it is adding the header to all pages of my site. That's not a > huge issue, but it would be nicer if the header was in the homepage only > (and it would avoid having to rebuild the whole site whenever that link > changes!). > > I think there is some way to customize the header for individual pages, > but in this case I don't even have a source index.md file to work with, > because the index is auto-generated by Nikola. Is there any way I can > achieve the goal? > > Ciao, > Alberto > > -- > 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/901168ce-81ae-4b95-afb3-62aaf1e77964%40googlegroups.com > <https://groups.google.com/d/msgid/nikola-discuss/901168ce-81ae-4b95-afb3-62aaf1e77964%40googlegroups.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 nikola-discuss+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/nikola-discuss/CALXDAfrrO0jigrAkM%3DmKi1T_A9m%3DQ01qejV_UMpw4PAx1cRwzQ%40mail.gmail.com.