pluto
pluto copied to clipboard
Post titles should link to the original blog post
We can link wherever, though I think the title for the post is what makes the most sense.
We just have to link somewhere; otherwise it's confusing.
We really should do this. It's a very simple change.
@exchgr or @rubinovitz - either of you guys want to tackle it? I could do it myself, but I want to get your names up on https://plutodemo.herokuapp.com/ :)
Hi, I don't get Github emails so feel free to email me about Github stuff. Will try to do this week.
Hi @ChimeraCoder , can you post where exactly I can get the link to the original blog post from? xoxo
Look in templates/posts.tmpl
. {{.}}
refers to the Item
, and you can access the first link by doing {{.FirstLink.Href}}
(if you're curious, you can see the other fields of the Link
struct here: https://github.com/jteeuwen/go-pkg-rss/blob/master/link.go).
Hope that helps :)