Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Jonathan Coetzee
Knot Resolver
Commits
0497be24
Commit
0497be24
authored
Nov 05, 2015
by
Marek Vavruša
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
modules/tinyweb: added favicon
parent
1203fe71
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2 additions
and
0 deletions
+2
-0
modules/tinyweb/tinyweb.go
modules/tinyweb/tinyweb.go
+1
-0
modules/tinyweb/tinyweb/favicon.ico
modules/tinyweb/tinyweb/favicon.ico
+0
-0
modules/tinyweb/tinyweb/tinyweb.tpl
modules/tinyweb/tinyweb/tinyweb.tpl
+1
-0
No files found.
modules/tinyweb/tinyweb.go
View file @
0497be24
...
...
@@ -191,6 +191,7 @@ func tinyweb_config(module *C.struct_kr_module, conf *C.char) int {
http
.
HandleFunc
(
"/topojson.js"
,
serve_file
)
http
.
HandleFunc
(
"/jquery.js"
,
serve_file
)
http
.
HandleFunc
(
"/epoch.css"
,
serve_file
)
http
.
HandleFunc
(
"/favicon.ico"
,
serve_file
)
http
.
HandleFunc
(
"/epoch.js"
,
serve_file
)
http
.
HandleFunc
(
"/d3.js"
,
serve_file
)
http
.
HandleFunc
(
"/"
,
serve_page
)
...
...
modules/tinyweb/tinyweb/favicon.ico
0 → 100644
View file @
0497be24
1.46 KB
modules/tinyweb/tinyweb/tinyweb.tpl
View file @
0497be24
...
...
@@ -25,6 +25,7 @@
<script
type=
"text/javascript"
src=
"topojson.js"
></script>
<script
type=
"text/javascript"
src=
"datamaps.world.min.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"
>
<div
id=
"page"
>
<h1>
{{.Title}}
</h1>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment