Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
[static_comments] rel=nofollow #305
Static comments currently render links without a 'rel="nofollow"' stanza in the generated tag.
Can you point me to the relevant code in Nikola? Then I would try to come up with a patch.
.. image:: magnetic-balls.jpg
similar to this we could add properties to a link
Nikola_ is linked here
.. _Nikola: https://getnikola.com/
I don't know if this is syntactically possible. It seems that Sphinx has added support for nofollow in some recent release according to the release announcement, I've not looked into the code, though. So maybe it's possible to reuse the syntax they use, provided it makes sense in other contexts?
Adding something in ReST won't solve the problem for other compilers, and you still have to modify all comments manually. It's better to let the plugin do this automatically.
For how to modify HTML, see https://github.com/getnikola/nikola/blob/master/nikola/nikola.py#L1387-L1399 (the