26 lines
273 B
Go
26 lines
273 B
Go
|
package owl
|
||
|
|
||
|
type Note struct {
|
||
|
Post
|
||
|
}
|
||
|
|
||
|
func (n *Note) TemplateDir() string {
|
||
|
return "note"
|
||
|
}
|
||
|
|
||
|
type Article struct {
|
||
|
Post
|
||
|
}
|
||
|
|
||
|
func (a *Article) TemplateDir() string {
|
||
|
return "article"
|
||
|
}
|
||
|
|
||
|
type Page struct {
|
||
|
Post
|
||
|
}
|
||
|
|
||
|
func (p *Page) TemplateDir() string {
|
||
|
return "page"
|
||
|
}
|