From: Jo-Philipp Wich Date: Tue, 5 Apr 2016 21:03:42 +0000 (+0200) Subject: Copy icons and use them in generated pages X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=3313048cd7da17db30adb4cb8f84c6e8143ef83a;p=web.git Copy icons and use them in generated pages Signed-off-by: Jo-Philipp Wich --- diff --git a/generate.sh b/generate.sh index ea6c42b..b8407e0 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" +O="-b html5 -a linkcss -a stylesdir=/css -a stylesheet=lede.css -a disable-javascript -a icons -a iconsdir=/icon" copy() {( cd "$1" @@ -28,6 +28,7 @@ render() {( copy "$D/logo" "$D/html/logo" copy "$D/css" "$D/html/css" +copy "$D/icon" "$D/html/icon" render "$D/pages" "$D/html" render "$D/docs" "$D/html/docs"