diff options
author | Zach van Rijn <me@zv.io> | 2021-07-13 10:23:46 -0500 |
---|---|---|
committer | Zach van Rijn <me@zv.io> | 2021-07-13 10:23:46 -0500 |
commit | 723d3f4be5da5be2497e1b036e5418c1d892e199 (patch) | |
tree | 406ad38f20f02da97c924b27aea4c96bf7cfca87 /publish | |
parent | d04bc6c86c9b398135ec0566f23a868cbd3e6d60 (diff) | |
download | site-ng-723d3f4be5da5be2497e1b036e5418c1d892e199.tar.gz site-ng-723d3f4be5da5be2497e1b036e5418c1d892e199.tar.bz2 site-ng-723d3f4be5da5be2497e1b036e5418c1d892e199.tar.xz site-ng-723d3f4be5da5be2497e1b036e5418c1d892e199.zip |
Create new official logo and variations for GitLab and Website. Update scripts accordingly.
Diffstat (limited to 'publish')
-rwxr-xr-x | publish | 22 |
1 files changed, 21 insertions, 1 deletions
@@ -7,7 +7,12 @@ rm -fr ${HTML} ${HTML}.tgz; mkdir ${HTML}; ## -# .psd --> .jpg +# Logo +# +(cd assets/images && ./polyguin.sh) + +## +# .psd --> .jpg ONLY in 'src/' # find ${HERE} -type f -name "*.psd" | while read k; do f="${k#*${HERE}}"; @@ -16,6 +21,21 @@ find ${HERE} -type f -name "*.psd" | while read k; do done ## +# .psd --> .png ONLY in '../assets/' +# +# x28 is GitLab +# x54 is Website +# +find ${HERE}/../assets -type f -name "*.psd" | while read k; do + f="${k#*${HERE}}"; + mkdir -p "${HTML}${f%/*}"; + convert "${k}[0]" "${HTML}${f%*.psd}.png"; + for r in x28 x54; do + convert -resize ${r} "${k}[0]" "${HTML}${f%*.psd}_${r}.png"; + done +done + +## # template injection # find ${HERE} -type f -name "*.html" | while read k; do |