Lines Matching refs:title
14 Title string
19 filename := p.Title + ".txt"
23 func loadPage(title string) (*Page, error) {
24 filename := title + ".txt"
29 return &Page{Title: title, Body: body}, nil
38 title := r.URL.Path[len("/view/"):]
39 p, _ := loadPage(title)
44 title := r.URL.Path[len("/edit/"):]
45 p, err := loadPage(title)
47 p = &Page{Title: title}