Adding a link icon to headings

If you are happy with some JS, this has been answered just now in this thread: