diff --git a/jekyll/_includes/solaar.svg b/jekyll/_includes/solaar.svg new file mode 100644 index 00000000..1681b79c --- /dev/null +++ b/jekyll/_includes/solaar.svg @@ -0,0 +1,14 @@ + + + + + + + + + + + + + + diff --git a/jekyll/_layouts/default.html b/jekyll/_layouts/default.html index 49468025..aa96978c 100644 --- a/jekyll/_layouts/default.html +++ b/jekyll/_layouts/default.html @@ -16,7 +16,7 @@
View on GitHub -

{{ site.title }}

+

{% include solaar.svg %} {{ site.title }}

{{ site.tagline }}

diff --git a/jekyll/_layouts/page.html b/jekyll/_layouts/page.html index 1ff2522e..c4af10e7 100644 --- a/jekyll/_layouts/page.html +++ b/jekyll/_layouts/page.html @@ -15,7 +15,7 @@ diff --git a/tools/build_gh_pages.sh b/tools/build_gh_pages.sh index 65f90e46..bbbb9761 100755 --- a/tools/build_gh_pages.sh +++ b/tools/build_gh_pages.sh @@ -55,11 +55,9 @@ fix_times() { # /bin/cp --archive --update "$SELF/jekyll"/* "$BUILD/" -# convert the svg logo to png for the web site +# convert the svg logo to png for the web site favicon /usr/bin/convert.im6 "$SELF/share/solaar/icons/solaar.svg" -transparent white \ - -resize 48x48 "$BUILD/images/solaar-logo.png" -/usr/bin/convert.im6 "$SELF/share/solaar/icons/solaar.svg" -transparent white \ - -resize 16x16 "$BUILD/images/favicon.png" + -resize 32x32 "$BUILD/images/favicon.png" # optimize the converted pngs command -V optipng && optipng -preserve -quiet -o 7 "$BUILD/images"/*.png @@ -133,6 +131,5 @@ fix_times docs/devices.md devices.html fix_times docs/installation.md installation.html fix_times docs/debian.md debian.html fix_times jekyll/images images -fix_times share/solaar/icons/solaar.svg images/solaar-logo.png fix_times share/solaar/icons/solaar.svg images/favicon.png fix_times jekyll/style style