Is it safe to remove tag CSS classes from HTML layouts? #799
-
I'm posting this as a general question first, please let me know if the following should be investigated further as a potential bug. 🙂 Background: For my Wittstock theme the goal was to remove all Another one which causes very special and odd behaviour in my theme is the entry class wrapper for blog and wiki pages. It fetches the page tags and uses them as class names in the opening |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Yes, you can remove these CSS classes from your own HTML layouts. They are intended for web designers and will transfer some of the page metadata into the HTML code. In the wiki extension and blog extension generated HTML pages from layouts and generated HTML fragments from shortcuts contain these CSS classes. For example you could visually highlight new wiki pages with the |
Beta Was this translation helpful? Give feedback.
Yes, you can remove these CSS classes from your own HTML layouts.
They are intended for web designers and will transfer some of the page metadata into the HTML code. In the wiki extension and blog extension generated HTML pages from layouts and generated HTML fragments from shortcuts contain these CSS classes. For example you could visually highlight new wiki pages with the
Tag: new
or visually highlight popular blog pages with theTag: popular
. It's up to the web designer to use this metadata for something useful.