[Opa] Doctype html5 and bootstrap

Frederic Ye frederic.ye at mlstate.com
Sat Mar 17 22:22:33 UTC 2012


Hello,

Currently, in order to return an HTML5 document in Opa, you have to return a full resource :

  Resource.full_page_with_doctype(
    "Title",
    {html5}, // HTML5 doctype
    page, headers, {success},
    []
  )

You can have a look at an application using this here : 

https://github.com/Aqua-Ye/OpaChat/blob/master/src/main.opa#L311

On 17 mars 2012, at 20:10, Alberto M wrote:

> Hi,
> I would like to know how to use customize the doctype like this :
> https://gist.github.com/2064277
> I'm trying to include Bootstrap 2.0.2 by hand.
> 
> Thx.
> 
> Alberto M
> _______________________________________________
> Opa mailing list
> Opa at lists.owasp.org
> https://lists.owasp.org/mailman/listinfo/opa

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.owasp.org/pipermail/opa/attachments/20120317/b7a874f7/attachment.html>


More information about the Opa mailing list