Home | History | Annotate | Download | only in wiki

Lines Matching full:title

15 	Title string
20 filename := p.Title + ".txt"
24 func loadPage(title string) (*Page, error) {
25 filename := title + ".txt"
30 return &Page{Title: title, Body: body}, nil
34 title := r.URL.Path[len("/view/"):]
35 p, _ := loadPage(title)
36 fmt.Fprintf(w, "<h1>%s</h1><div>%s</div>", p.Title, p.Body)
40 title := r.URL.Path[len("/edit/"):]
41 p, err := loadPage(title)
43 p = &Page{Title: title}
50 p.Title, p.Title, p.Body)