Patch to allow relative ASSET_URL Previously, webassets' ASSET_URL always was absolute. This patch allows a relative ASSET_URL, depending on Pelican's RELATIVE_URLS setting.
Patch to allow relative ASSET_URL
Previously, webassets' ASSET_URL always was absolute.
This patch allows a relative ASSET_URL, depending on Pelican's
RELATIVE_URLS setting.

Hint for templates:
-------------------
Current version of webassets seem to remove any relative
paths at the beginning of the URL. So, if RELATIVE_URLS
is on, ASSET_URL will start with 'theme/', regardless if we
set assets_url here to './theme/' or to 'theme/'.
XXX However, this breaks the ASSET_URL if user navigates to
a sub-URL, e.g. if he clicks on a category. To workaround this
issue, I use
    <link rel="stylesheet" href="{{ SITEURL }}/{{ ASSET_URL }}">
instead of
    <link rel="stylesheet" href="{{ ASSET_URL }}">

Maybe this hint is worth to be included in the documentation.
I have it also written as comments in the source.

number5/pelican,Summonee/pelican,ls2uper/pelican,iKevinY/pelican,gymglish/pelican,lazycoder-ru/pelican,liyonghelpme/myBlog,sunzhongwei/pelican,zackw/pelican,ls2uper/pelican,joetboole/pelican,alexras/pelican,liyonghelpme/myBlog,HyperGroups/pelican,GiovanniMoretti/pelican,rbarraud/pelican,kennethlyn/pelican,jimperio/pelican,number5/pelican,garbas/pelican,lazycoder-ru/pelican,kernc/pelican,11craft/pelican,farseerfc/pelican,deved69/pelican-1,lucasplus/pelican,sunzhongwei/pelican,crmackay/pelican,deved69/pelican-1,51itclub/pelican,btnpushnmunky/pelican,ls2uper/pelican,ehashman/pelican,ingwinlu/pelican,Scheirle/pelican,Scheirle/pelican,kennethlyn/pelican,koobs/pelican,getpelican/pelican,levanhien8/pelican,abrahamvarricatt/pelican,zackw/pelican,deanishe/pelican,koobs/pelican,garbas/pelican,goerz/pelican,goerz/pelican,catdog2/pelican,crmackay/pelican,deanishe/pelican,iKevinY/pelican,JeremyMorgan/pelican,iurisilvio/pelican,goerz/pelican,GiovanniMoretti/pelican,garbas/pelican,abrahamvarricatt/pelican,kernc/pelican,joetboole/pelican,Summonee/pelican,talha131/pelican,treyhunner/pelican,jo-tham/pelican,GiovanniMoretti/pelican,lazycoder-ru/pelican,kernc/pelican,jvehent/pelican,florianjacob/pelican,Rogdham/pelican,liyonghelpme/myBlog,jo-tham/pelican,crmackay/pelican,liyonghelpme/myBlog,Scheirle/pelican,Polyconseil/pelican,JeremyMorgan/pelican,TC01/pelican,simonjj/pelican,avaris/pelican,avaris/pelican,HyperGroups/pelican,alexras/pelican,number5/pelican,abrahamvarricatt/pelican,gymglish/pelican,btnpushnmunky/pelican,11craft/pelican,simonjj/pelican,deved69/pelican-1,karlcow/pelican,simonjj/pelican,Rogdham/pelican,douglaskastle/pelican,UdeskDeveloper/pelican,janaurka/git-debug-presentiation,jimperio/pelican,kennethlyn/pelican,iurisilvio/pelican,Polyconseil/pelican,karlcow/pelican,Summonee/pelican,karlcow/pelican,farseerfc/pelican,lucasplus/pelican,catdog2/pelican,iurisilvio/pelican,koobs/pelican,fbs/pelican,ionelmc/pelican,sunzhongwei/pelican,deanishe/pelican,eevee/pelican,HyperGroups/pelican,rbarraud/pelican,jimperio/pelican,eevee/pelican,UdeskDeveloper/pelican,gymglish/pelican,51itclub/pelican,treyhunner/pelican,getpelican/pelican,treyhunner/pelican,joetboole/pelican,lucasplus/pelican,ehashman/pelican,catdog2/pelican,0xMF/pelican,TC01/pelican,jvehent/pelican,alexras/pelican,levanhien8/pelican,jvehent/pelican,Rogdham/pelican,sunzhongwei/pelican,rbarraud/pelican,JeremyMorgan/pelican,liyonghelpme/myBlog,51itclub/pelican,justinmayer/pelican,TC01/pelican,11craft/pelican,zackw/pelican,janaurka/git-debug-presentiation,ehashman/pelican,talha131/pelican,btnpushnmunky/pelican,florianjacob/pelican,janaurka/git-debug-presentiation,eevee/pelican,arty-name/pelican,levanhien8/pelican,douglaskastle/pelican,UdeskDeveloper/pelican,ingwinlu/pelican,douglaskastle/pelican,florianjacob/pelican