Skip to content

Commit

Permalink
Merge pull request #376 from plone/yurj-theme-portal_url
Browse files Browse the repository at this point in the history
Add the portal_url parameter to be used with Diazo rules
  • Loading branch information
yurj authored Jul 25, 2024
2 parents c7e048e + 01c75cf commit 0cbb049
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions news/376.feature
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
[yurj] Add the portal_url parameter to be used with Diazo rules and implement it in backend.xml
2 changes: 1 addition & 1 deletion plonetheme/barceloneta/theme/backend.xml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@

<!-- We can't control the bundle from here due to include. Just hard code -->
<after css:theme-children="head">
<link href="++theme++barceloneta/css/barceloneta.css"
<link href="{$portal_url}/++theme++barceloneta/css/barceloneta.css"
rel="stylesheet"
/>
</after>
Expand Down
3 changes: 3 additions & 0 deletions plonetheme/barceloneta/theme/manifest.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,6 @@ production-css = ++theme++barceloneta/css/barceloneta.min.css
tinymce-content-css = /++theme++barceloneta/css/barceloneta.min.css
development-js =
production-js =

[theme:parameters]
portal_url = portal_state/portal_url

0 comments on commit 0cbb049

Please sign in to comment.