diazo
diazo copied to clipboard
Diazo applies a static HTML theme to a dynamic website
The html 5 picture tag uses unary source tags to define different source locations for the image using a source tag. These tags get rendered with a closing tag by...
every theming framework I know - bootstrap, foundation, tailwind - relies heavily on interchangeable classes to style UI elements. since plone 6 uses Bootstrap 5, it would be very useful...
Between Diazo v 1.0.6 and v 1.2.1 (which ship with Plone 4.3.6 and Plone 5.0, respectively), something broke in the way `` works. The simplest test case I can think...
Is this a bug in diazorun? (Diazo 1.4.0) ``` diazorun --xsl theme.xsl content.html Traceback (most recent call last): File "/usr/bin/diazorun", line 8, in sys.exit(main()) File "/usr/lib/python3.8/site-packages/diazo/run.py", line 157, in main...
These tests showcase an error we noticed at www.freitag.de: If you have the very same rules, but one written with CSS selectors and the other with xpath selectors, but only...
On jenkins, while running tests there is this warning being printed: ``` /diazo/compiler.py:36: ResourceWarning: unclosed file parser=parser, ```
The `css:-if-theme` rule is displayed as _red_, rather than _green_ even though the contained `BLAH BLAGH BLAH` rule is clearly activated in the screenshot below ![blah_blah_blah](https://cloud.githubusercontent.com/assets/1470021/19814882/265b24ba-9d38-11e6-8c68-8015a1238f4f.png)
I have a theme with links that have a text and an image: ``` html A Text ``` Now I want to just change the text "A Text", the svg-image...
This suggestion follows the DRY mindset. The idea is that a rule like this: ``` ``` Could be written like this: ``` ``` This is inspired in [empty `if-content=""` syntax.](http://docs.diazo.org/en/latest/advanced.html#conditions-based-on-content-nodes)...
(moved from https://github.com/plone/plone.app.theming/issues/104) I'd like to be able to do this ``` ``` `....` **`` ``** `....` `` Correct me if I'm wrong, but I don't think that's currently possible/easy?