From: Karl Palsson Date: Thu, 19 May 2016 10:12:36 +0000 (+0000) Subject: generate: use relative links for css X-Git-Url: http://git.openwrt.org/?p=web.git;a=commitdiff_plain;h=434b14541841a3fc43c324bbe39d597d0fbf1e22 generate: use relative links for css This makes local generation useful for simply opening the files on disk in a browser. Signed-off-by: Karl Palsson --- diff --git a/generate.sh b/generate.sh index b8407e0..4fc00b0 100755 --- a/generate.sh +++ b/generate.sh @@ -6,7 +6,7 @@ } D="$(pwd)" -O="-b html5 -a linkcss -a stylesdir=/css -a stylesheet=lede.css -a disable-javascript -a icons -a iconsdir=/icon" +O="-b html5 -a linkcss -a stylesdir=../css -a stylesheet=lede.css -a disable-javascript -a icons -a iconsdir=../icon" copy() {( cd "$1"