Open bernd-wechner opened 3 years ago
The recommendation:
<link rel="stylesheet" href="{{ base_url }}/plugins/mcb_TableOfContent/style.css" media="screen,projection,print">
uses base_url which is not robustly portable. This:
<link rel="stylesheet" href="{{ plugins_url }}/mcb_TableOfContent/style.css">
however is.
Uncovered when using PicoCMS as a Nextcloud app. It turns out that base_url is not what you expect. But plugins_url is robust and works well.
base_url
plugins_url
The recommendation:
uses base_url which is not robustly portable. This:
however is.
Uncovered when using PicoCMS as a Nextcloud app. It turns out that
base_url
is not what you expect. Butplugins_url
is robust and works well.