feat: support customize title
This commit is contained in:
parent
06c326bdc3
commit
25e9984ad8
8 changed files with 167 additions and 7 deletions
|
|
@ -363,7 +363,7 @@ func render(opts renderOptions) ([]byte, error) {
|
|||
}
|
||||
|
||||
func indexHandler(w http.ResponseWriter, r *http.Request) {
|
||||
if r.RequestURI != "/" {
|
||||
if r.URL.Path != "/" {
|
||||
return
|
||||
}
|
||||
query := r.URL.Query()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue