use go-bindata to embed static assets
This commit is contained in:
parent
7cb1f02423
commit
1b4720fca2
10
Makefile
Normal file
10
Makefile
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
|
||||||
|
.PHONY: all clean
|
||||||
|
|
||||||
|
all: staticResources.go
|
||||||
|
|
||||||
|
clean:
|
||||||
|
rm staticResources.go
|
||||||
|
|
||||||
|
staticResources.go: static/ static/*
|
||||||
|
go-bindata -o staticResources.go -prefix static -pkg yatwiki3 static
|
27
static/highlight.js
Normal file
27
static/highlight.js
Normal file
File diff suppressed because one or more lines are too long
@ -1,6 +1,3 @@
|
|||||||
package yatwiki3
|
|
||||||
|
|
||||||
var tmplWikiCss []byte = []byte(`
|
|
||||||
/* wiki.css */
|
/* wiki.css */
|
||||||
html,body {
|
html,body {
|
||||||
background:white;color:black;font-size:12px;
|
background:white;color:black;font-size:12px;
|
||||||
@ -276,4 +273,3 @@ pre .vhdl .literal { color: rgb(163, 21, 21); }
|
|||||||
pre .vhdl .attribute { color: #00B0E8; }
|
pre .vhdl .attribute { color: #00B0E8; }
|
||||||
|
|
||||||
pre .xml .attribute { color: rgb(255, 0, 0); }
|
pre .xml .attribute { color: rgb(255, 0, 0); }
|
||||||
`)
|
|
258
staticResources.go
Normal file
258
staticResources.go
Normal file
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user