What I would like to accomplish is the following:
When a list of a certain content type is displayed, I would like an "edit" link to be placed at the end of the summary text that, when clicked, would take the user to the node edit page for that particular node.
This list would either be created using the Views module, or through a taxonomy. That part isn't important.
How can I do this through custom module code? I'm trying to learn more about writing modules on my own, and would prefer to avoid using an already built module in this particular case, since I will already be creating the content type in question through a module anyway.
Would I do this through module code, or through theme code?