Commit 0497be24 authored by Marek Vavruša's avatar Marek Vavruša
Browse files

modules/tinyweb: added favicon

parent 1203fe71
...@@ -191,6 +191,7 @@ func tinyweb_config(module *C.struct_kr_module, conf *C.char) int { ...@@ -191,6 +191,7 @@ func tinyweb_config(module *C.struct_kr_module, conf *C.char) int {
http.HandleFunc("/topojson.js", serve_file) http.HandleFunc("/topojson.js", serve_file)
http.HandleFunc("/jquery.js", serve_file) http.HandleFunc("/jquery.js", serve_file)
http.HandleFunc("/epoch.css", serve_file) http.HandleFunc("/epoch.css", serve_file)
http.HandleFunc("/favicon.ico", serve_file)
http.HandleFunc("/epoch.js", serve_file) http.HandleFunc("/epoch.js", serve_file)
http.HandleFunc("/d3.js", serve_file) http.HandleFunc("/d3.js", serve_file)
http.HandleFunc("/", serve_page) http.HandleFunc("/", serve_page)
......
...@@ -25,6 +25,7 @@ ...@@ -25,6 +25,7 @@
<script type="text/javascript" src="topojson.js"></script> <script type="text/javascript" src="topojson.js"></script>
<script type="text/javascript" src="datamaps.world.min.js"></script> <script type="text/javascript" src="datamaps.world.min.js"></script>
<script type="text/javascript" src="tinyweb.js"></script> <script type="text/javascript" src="tinyweb.js"></script>
<link rel="icon" type="image/ico" href="favicon.ico">
<link rel="stylesheet" type="text/css" href="epoch.css"> <link rel="stylesheet" type="text/css" href="epoch.css">
<div id="page"> <div id="page">
<h1>{{.Title}}</h1> <h1>{{.Title}}</h1>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment