ropensci / roweb3

rOpenSci website source
https://ropensci.org
20 stars 54 forks source link

remove anchors from RSS feed #80

Closed maelle closed 3 years ago

maelle commented 3 years ago

they come from the render hook https://gohugo.io/getting-started/configuration-markup/#markdown-render-hooks

maelle commented 3 years ago

@jeroen I was looking at GitHub READMEs for inspiration, and they also have the anchor in the HTML at all times. So I'm not sure we could solve this via CSS. Maybe I'll look another time :thinking:

jeroen commented 3 years ago

OK thanks. It already looks better on r-bloggers with the smaller icons: https://www.r-bloggers.com/2020/11/moving-away-from-travis-ci/

maelle commented 3 years ago

It could only look better :joy: :see_no_evil:

maelle commented 3 years ago

bootstrap has classes special for print display, now I wish we could just add classes for R-bloggers display :thinking:

jeroen commented 3 years ago

I think the bootstrap class is equivalent of doing "style: display:none;"

maelle commented 3 years ago

yeah but we want to do that only for rbloggers

jeroen commented 3 years ago

For the rss feed you mean? I don't think any rss feed should contain anchor icons, not just r-bloggers?

maelle commented 3 years ago

I think we don't have the issue with other feeds, at least not so much, because they use the summary rather than the whole content.

maelle commented 3 years ago

https://github.com/gohugoio/hugo/issues/7160

jeroen commented 3 years ago

The huge anchors also show up in our forum, if you click "show full post": https://discuss.ropensci.org/t/ropensci-behind-the-magick-updates-to-imagemagick-and-beyond/2329

maelle commented 3 years ago

Oops, this is not good indeed. @sckott how does this integration work? Could the link to full post direct to the website instead? I am wondering where best to tweak this.

maelle commented 3 years ago

Also say we publish a post on the website, it gets re-posted on the forum, we update the post on the forum: does it get updated in the forum?

sckott commented 3 years ago

Here's the plugin for the integration https://github.com/discourse/discourse-chat-integration I don't see any way to change anything about the integration. I'm guessing most people don't read the post in the forum, but maybe they do

maelle commented 3 years ago

Thanks @sckott

@jeroen I'll try your idea to make the anchor an icon.