fixes
parent
52e0d73526
commit
dc42fc1fb3
|
@ -112,8 +112,8 @@ func main() {
|
|||
www.Host = *host_opt
|
||||
WebInit(&www)
|
||||
|
||||
fs := http.FileServer(http.Dir("lib"))
|
||||
http.Handle("/lib/", http.StripPrefix("/lib/", fs))
|
||||
fs := http.FileServer(http.Dir("style"))
|
||||
http.Handle("/style/", http.StripPrefix("/style/", fs))
|
||||
|
||||
http.HandleFunc("/list.txt", func(w http.ResponseWriter, r *http.Request) {
|
||||
echoes := db.Echoes(nil, ii.Query{})
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
<meta name="Robots" content="index,follow">
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<meta charset="utf-8"/>
|
||||
<meta name="viewport" content="width=device-width; initial-scale=1.0">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<link rel="icon" href="/style/icon.png" type="image/png">
|
||||
<link rel="stylesheet" type="text/css" href="/style/style.css">
|
||||
{{ if eq .Template "query.tpl" }}<link href="{{.PfxPath}}/{{.BasePath}}/rss" type="application/rss+xml" rel="alternate" title="{{.Sysname}} {{.BasePath}} :: RSS feed" />{{ end }}
|
||||
|
|
Loading…
Reference in New Issue