Please pull this out into a partial (e.g. `app/views/posts/_share.html.haml`) and use this on both posts index and posts show.

Also, I prefer that the div be converted to haml, since it is is unintuitive to read right now.  See http://haml.info/docs/yardoc/file.REFERENCE.html#html5_custom_data_attributes