Skip to content

Commit

Permalink
Remove colophon and copyright in theme, if not present in content
Browse files Browse the repository at this point in the history
and also bump version because of breaking changes
  • Loading branch information
petschki committed Oct 18, 2018
1 parent d75853a commit cdb498d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ Changelog
=========


1.9.2 (unreleased)
------------------
1.10.0 (unreleased)
-------------------

Breaking changes:

Expand Down
2 changes: 2 additions & 0 deletions plonetheme/barceloneta/theme/rules.xml
Original file line number Diff line number Diff line change
Expand Up @@ -111,12 +111,14 @@
css:theme-children="#portal-footer .copyright > div"
css:content-children="#portal-footer-wrapper #portal-footer-signature .portletContent"
/>
<drop css:theme="#portal-footer .copyright" css:if-not-content="#portal-footer-wrapper #portal-footer-signature" />

<!-- Replace colophon information with Plone version. -->
<replace
css:theme-children="#portal-footer .colophon > div"
css:content-children="#portal-footer-wrapper #portal-colophon .portletContent"
/>
<drop css:theme="#portal-footer .colophon" css:if-not-content="#portal-footer-wrapper #portal-colophon" />

<!-- Replace site-actions with Plone version. -->
<replace
Expand Down

0 comments on commit cdb498d

Please sign in to comment.