Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

Template Questions /

HTML5 & CSS3


Reply


3 Posts   1359 Views

Avatar
Stefdv

Community Member, 110 Posts

11 July 2011 at 10:08pm

Edited: 11/07/2011 10:49pm

Hello,

I'm trying to convert a website made with HTML5 ( en some CSS3 ) to a SilverStripe template. But it seems that the template engine doesn't support the HTML5 tags like; <header> <article> <section> <nav> < hgroup> <aside> <footer> ?

Does this mean that i have to use <div id="***"> and go back to the ' old' way of doing things?
Can i include something in my config to make this work?

tx

So sorry, stupid typo ; folder temlate instead of template.

Avatar
Willr

Forum Moderator, 5513 Posts

12 July 2011 at 6:46pm

The template engine supports anything you want it to support. XML, JSON, HTML5... what issues where you having with those tags?

Avatar
Stefdv

Community Member, 110 Posts

13 July 2011 at 3:59am

Willr

Tx for your reply, but as you can see i corrected my message...

I have absolute no issues, besides the fact that i should pay more attention to my folder structure ( and the names ) :)