<feed xmlns='http://www.w3.org/2005/Atom'>
<title>aaoth.xyz/art/thumbs.sh, branch jekyll</title>
<subtitle>aaoth.xyz website</subtitle>
<link rel='alternate' type='text/html' href='http://git.aaoth.xyz/aaoth.xyz/'/>
<entry>
<title>rename art to visual</title>
<updated>2021-11-19T20:55:13+00:00</updated>
<author>
<name>la-ninpre</name>
<email>leobrekalini@gmail.com</email>
</author>
<published>2021-11-19T20:55:13+00:00</published>
<link rel='alternate' type='text/html' href='http://git.aaoth.xyz/aaoth.xyz/commit/?id=79a4e6c60f2a6b6b69f464a6c83f83e42e5ea510'/>
<id>79a4e6c60f2a6b6b69f464a6c83f83e42e5ea510</id>
<content type='text'>
'cause it makes more sense. also, this action made me realize that
my website is very poorly designed, because to just rename one page
i needed to make changes in 6 different files! that's really gross...
i hope i can improve it.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
'cause it makes more sense. also, this action made me realize that
my website is very poorly designed, because to just rename one page
i needed to make changes in 6 different files! that's really gross...
i hope i can improve it.
</pre>
</div>
</content>
</entry>
<entry>
<title>fix thumbnail regeneration on every push</title>
<updated>2021-08-19T07:32:15+00:00</updated>
<author>
<name>la-ninpre</name>
<email>leobrekalini@gmail.com</email>
</author>
<published>2021-08-19T07:32:15+00:00</published>
<link rel='alternate' type='text/html' href='http://git.aaoth.xyz/aaoth.xyz/commit/?id=ac9c52a68e87bd166d110d0e1995ad254a81befe'/>
<id>ac9c52a68e87bd166d110d0e1995ad254a81befe</id>
<content type='text'>
i hope it will finally work...

git post-receive hook is the same, but jekyll now shouldn't purge all
generated thumbnails.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
i hope it will finally work...

git post-receive hook is the same, but jekyll now shouldn't purge all
generated thumbnails.
</pre>
</div>
</content>
</entry>
<entry>
<title>fix thumbnail generation on every push</title>
<updated>2021-08-19T06:41:39+00:00</updated>
<author>
<name>la-ninpre</name>
<email>leobrekalini@gmail.com</email>
</author>
<published>2021-08-19T06:41:39+00:00</published>
<link rel='alternate' type='text/html' href='http://git.aaoth.xyz/aaoth.xyz/commit/?id=2611b42c5d2f4302592b3f7957830e2966b0a524'/>
<id>2611b42c5d2f4302592b3f7957830e2966b0a524</id>
<content type='text'>
post-receive git hook is also tweaked. since thumbnails aren't needed on
site build time, they can be created after by copying `thumbs.sh` script
into site art directory, running it and deleting afterwards.

`hooks/post-receive`
```

{
    cp "$TMP_GIT_CLONE/art/thumbs.sh" "$PUBLIC_WWW/art/thumbs.sh"
    cd "$PUBLIC_WWW/art"
    sh thumbs.sh
    rm thumbs.sh
}

```
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
post-receive git hook is also tweaked. since thumbnails aren't needed on
site build time, they can be created after by copying `thumbs.sh` script
into site art directory, running it and deleting afterwards.

`hooks/post-receive`
```

{
    cp "$TMP_GIT_CLONE/art/thumbs.sh" "$PUBLIC_WWW/art/thumbs.sh"
    cd "$PUBLIC_WWW/art"
    sh thumbs.sh
    rm thumbs.sh
}

```
</pre>
</div>
</content>
</entry>
<entry>
<title>modify art page to display thumbnails</title>
<updated>2021-05-26T21:19:10+00:00</updated>
<author>
<name>la-ninpre</name>
<email>leobrekalini@gmail.com</email>
</author>
<published>2021-05-26T21:13:05+00:00</published>
<link rel='alternate' type='text/html' href='http://git.aaoth.xyz/aaoth.xyz/commit/?id=324991d82ef26798ed5842a6fe03eabc798ff497'/>
<id>324991d82ef26798ed5842a6fe03eabc798ff497</id>
<content type='text'>
thumbnails are currently created using shell script and require
imagemagick installed on the server. i know it's stupid, but i think
that including thumbnails to repo is also stupid.

maybe later i replace this script with actual jekyll plugin, but for
this i'll need to familiarize myself with ruby.
but now i use following addition to the git hook on the server:

```
[ -f "$TMP_GIT_CLONE/art/thumbs.sh" ] &amp;&amp; {
    dir="$PWD"
    cd "$TMP_GIT_CLONE/art/" &amp;&amp; sh thumbs.sh &amp;&amp; cd "$dir"
}
```

it happens after cloning to remote repo and before building with bundle.

overall, this is a bodge now, it recompiles all thumbnails every time
due to quirks in my current setup.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
thumbnails are currently created using shell script and require
imagemagick installed on the server. i know it's stupid, but i think
that including thumbnails to repo is also stupid.

maybe later i replace this script with actual jekyll plugin, but for
this i'll need to familiarize myself with ruby.
but now i use following addition to the git hook on the server:

```
[ -f "$TMP_GIT_CLONE/art/thumbs.sh" ] &amp;&amp; {
    dir="$PWD"
    cd "$TMP_GIT_CLONE/art/" &amp;&amp; sh thumbs.sh &amp;&amp; cd "$dir"
}
```

it happens after cloning to remote repo and before building with bundle.

overall, this is a bodge now, it recompiles all thumbnails every time
due to quirks in my current setup.
</pre>
</div>
</content>
</entry>
</feed>
