Adding a link with an id

27 views
Skip to first unread message

Ram Rachum

unread,
Aug 14, 2020, 11:37:50 AM8/14/20
to nikola-discuss
Hi everyone!

I'm a newbie at Nikola and I have a question.

I'm editing an existing site. There's an `rst` file that gets compiled to HTML. I want to add this to the HTML:

<a id="floof" href="floof.html">
    Bigtime floof
    <img src="floof.jpg">
</a>


What code do I need to add on the `rst` side to have it output the HTML above?


Thanks,
Ram.

Roberto Alsina

unread,
Aug 14, 2020, 9:47:04 PM8/14/20
to Nikola—Discuss

--
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-discus...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/nikola-discuss/f34472a5-0cc3-4416-8a04-29df13b1ce1fo%40googlegroups.com.

Ram Rachum

unread,
Aug 15, 2020, 3:46:33 AM8/15/20
to nikola-...@googlegroups.com
Hi Roberto,

The link you sent me is giving me different options for link targets, but that's not what I'm going for. I'd like to put an ID tag on my link and put an img inside of it. Is that possible? 


Thanks,
Ram.

You received this message because you are subscribed to a topic in the Google Groups "nikola-discuss" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/nikola-discuss/2CovkgrtgsM/unsubscribe.
To unsubscribe from this group and all its topics, send an email to nikola-discus...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/nikola-discuss/CALXDAfpsVx2L2%3DOa-uJOOv-R99L5ZzBoJ2cGuWb_mx3FG2BHKw%40mail.gmail.com.

Roberto Alsina

unread,
Aug 15, 2020, 9:37:59 AM8/15/20
to Nikola—Discuss
You could ask in the docutils mailing lists, Nikola just uses that.

Ram Rachum

unread,
Aug 15, 2020, 9:40:11 AM8/15/20
to nikola-...@googlegroups.com
I understand. Thanks for your help. 

Reply all
Reply to author
Forward
0 new messages