mirror of https://github.com/perkeep/perkeep.git
Give up and put favicon.ico at the root.
This commit is contained in:
parent
c4809026c6
commit
f7ae0f8edf
|
@ -159,6 +159,7 @@ func main() {
|
|||
readTemplates()
|
||||
|
||||
mux := http.DefaultServeMux
|
||||
mux.Handle("/favicon.ico", http.FileServer(path.Join(*root, "static"), "/"))
|
||||
mux.Handle("/static/", http.FileServer(path.Join(*root, "static"), "/static/"))
|
||||
mux.HandleFunc("/", mainHandler)
|
||||
|
||||
|
|
|
@ -6,8 +6,6 @@
|
|||
{.or}
|
||||
<title>Camlistore</title>
|
||||
{.end}
|
||||
<link rel="icon" href="/static/favicon.ico" type="image/x-icon">
|
||||
<link rel="shortcut icon" href="/static/favicon.ico" type="image/x-icon">
|
||||
<link href='http://fonts.googleapis.com/css?family=Droid+Sans:regular,bold' rel='stylesheet' type='text/css'>
|
||||
<link rel="stylesheet" href="/static/all.css" type="text/css" media="all" charset="utf-8">
|
||||
</head>
|
||||
|
|
Loading…
Reference in New Issue