Your 'master' werc config is stored in your site's home directory $site/_werc
,
Look through some different people's site configs
Files must be owned by user/group 'www-data', otherwise apache2 cannot execute file deletion/creation.
If you manually create files/directories as the root user in your terminal, then you will run into server errors as you try to edit/save
todo: /bin/corehandlers.rc
todo: mention horizontal sidebar also mention cork posthumously, mention this also https://kwerc.org/
figure out werc description
I no longer confhidepaths 'src' 'pix' rather I moved them to /pub
site specific
/var/www/werc/sites/yoursite/_werc/lib
an example 404.tpl file, see
10 march
<h2>Page not found!</h2>
<h3>Hi, <code>%($"req_path%)</code> doesn't seem to be exist</h3>
<p>It may have been renamed, moved location or I deleted it, take a look at the <a href="/sitemap">sitemap</a> or use the searchbar on your left
<p>If you still can't find it <a target="_blank" rel="noopener" href="mailto:christos@bauherren.ovh?subject=Webpage%20missing%20%22%($req_path%)%22">email me</a> :)
10 march
generate random image
% painting=`{ls pub/art | shuf -n 1}
% fig=`{echo $painting | sed 's/-/ /g; s/\.avif//g;s|pub/art/||g' }
<img src=%($"painting%) style="width:230px">
<p>Randomized image: <i>"%($"fig%)"</i></p>