aboutsummaryrefslogtreecommitdiff
path: root/internal
diff options
context:
space:
mode:
Diffstat (limited to 'internal')
-rw-r--r--internal/feed/feed.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/internal/feed/feed.go b/internal/feed/feed.go
index 0038335..7b9f0de 100644
--- a/internal/feed/feed.go
+++ b/internal/feed/feed.go
@@ -29,7 +29,9 @@ type feeditem struct {
reasons []string
}
-func (item *feeditem) Creator() string {
+// Creator returns the name of the creating author.
+// MUST NOT have `*feeditem` has the receiver, because the template breaks then.
+func (item feeditem) Creator() string {
if item.Item.Author != nil {
return item.Item.Author.Name
}