diff options
Diffstat (limited to 'content')
-rw-r--r-- | content/post.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/content/post.go b/content/post.go index 7bb36f6..4690f41 100644 --- a/content/post.go +++ b/content/post.go @@ -24,6 +24,9 @@ func init() { // ContentID partially implements editor.Editable func (p *Post) ContentID() int { return p.ID } +// ContentName partially implements editor.Editable +func (p *Post) ContentName() string { return p.Title } + // Editor partially implements editor.Editable func (p *Post) Editor() *editor.Editor { return &p.editor } |