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
39 title := r.URL.Path[len("/view/"):]
40 p, err := loadPage(title)
42 http.Redirect(w, r, "/edit/"+title, http.StatusFound)
49 title := r.URL.Path[len("/edit/"):]
50 p, err := loadPage(title)
52 p = &Page{Title: title}
58 title := r.URL.Path[len("/save/"):]
60 p := &Page{Title: title, Body: []byte(body)}
66 http.Redirect(w, r, "/view/"+title, http.StatusFound)