diff --git a/build.sh b/build.sh index aca6407..03e14b1 100755 --- a/build.sh +++ b/build.sh @@ -1,5 +1,6 @@ #!/bin/sh -python gif.py python build.py +python gif.py ./sync.sh + diff --git a/const.py b/const.py index d858374..6903e96 100644 --- a/const.py +++ b/const.py @@ -4,5 +4,5 @@ date_format = "%a, %d %b %Y %H:%M:%S" source = "src" templates = "templates" resources = "resources" -dist = "html" +dist = "dist" summary_max = 10 diff --git a/gif.py b/gif.py index 9f0c699..df416f4 100644 --- a/gif.py +++ b/gif.py @@ -58,7 +58,7 @@ def make(filename, inp=None): frames[0].save(filename, format="GIF", append_images=frames[1:], save_all=True, duration=100, loop=0) -make("images/bg.gif") -make("images/remotecontrol.gif", inp="images/remotecontrol.png") +make("dist/images/bg.gif") +make("dist/images/remotecontrol.gif", inp="images/remotecontrol.png") diff --git a/images/bg.gif b/images/bg.gif deleted file mode 100644 index 052c1ad..0000000 Binary files a/images/bg.gif and /dev/null differ diff --git a/images/remotecontrol.gif b/images/remotecontrol.gif deleted file mode 100644 index c7c8a81..0000000 Binary files a/images/remotecontrol.gif and /dev/null differ diff --git a/sync.sh b/sync.sh index 01c8d21..e78ef19 100755 --- a/sync.sh +++ b/sync.sh @@ -1,5 +1,5 @@ #!/bin/bash -rsync -Lta --no-perms --no-owner --no-group --delete --exclude=sync.sh -z -e ssh ./html/ cheetah:/srv/www/davidovski/html +rsync -Lta --no-perms --no-owner --no-group --delete --exclude=sync.sh -z -e ssh ./dist/ cheetah:/srv/www/davidovski/html ssh -t cheetah "ln -s /srv/shared/site/* /srv/www/davidovski/html/" # git push # push after everything to keep it all backed up diff --git a/templates/about.html b/templates/about.html index 8937865..24dff72 100644 --- a/templates/about.html +++ b/templates/about.html @@ -2,7 +2,7 @@

Hi, I'm david and this is my place on the net where I dump various files, write blogs and whatever I feel like.

-

Feel free to explore the above links, or scroll through below. This site is still under contruction... permanently. So expect it to look better (or worse) in the future.

+

Feel free to explore the above links, or scroll through below. This site is still under construction... permanently. So expect it to look better (or worse) in the future.

if you want to contact me, you can message me on matrix @davidovski:matrix.org (i will make my own homeserver soon ok?) or discord iksvo#6239. I'll be also happy to reply to any emails, linked at the top of the page