Hi all,

Nice Ignacio!, thanks for both this Haml support and the previous one
(Hobo 2.2.5) :)

Good work!

Regards, Ibon.

Abrazo, Ibon.

Usa Software Libre, tus úlceras te lo agradecerán
Realizado con Software Libre.
--
GPG public key at http://sinanimodelucro.net/ibon_gmail.asc
Finderprint: 1761 59B9 6DE6 0402 31B9 1872 178F A6FD 75F9 EB29

El 06/03/16 a las 17:11, Ignacio Huerta escribió:
> Hi everyone,
> 
> I am happy to announce that Dryml has now Haml experimental support. You
> just need to use the "haml_support" branch from Github and load the haml
> gem:
> 
> 
>   gem 'hobo', git: 'g...@github.com:Hobo/hobo.git', branch: 'haml_support'
>   gem 'haml'
> 
> 
> 
> The idea is simple. Instead of creating a ".dryml" file, you can create
> a ".dryhaml" file. Then Hobo converts it to Dryml before parsing it.
> 
> I'm sure there are a lot of situations where it will break, but the most
> basic examples seem to be working:
> 
> 
> 
> Example 1 Dryml: front/index.dryml
> ----------------------------------
> 
> <page title='Home'>
>   <body: class='front-page'></body:>
>   <content:>
>     <header class='content-header hero-unit'>
>       <h1>Welcome</h1>
>       <section class='welcome-message'>
>         <h3>Congratulations! Your Hobo Rails App is up and running</h3>
>       </section>
>     </header>
>   </content:>
> </page>
> 
> 
> Example 1 Haml: front/index.dryhaml
> -----------------------------------
> %page{title: "Home"}
>   %body:/
>   %content:
>     %header.content-header.hero-unit
>       %h1 Welcome
>       %section.welcome-message
>         %h3 Congratulations! Your Hobo Rails App is up and running
>     %section.content-body
> 
> 
> 
> 
> 
> Example 2 Dryml: things/show.dryml
> ----------------------------------
> 
> <show-page>
>   <content-body:>
>     <h2>Hello World Dryml</h2>
>   </content-body:>
> </show-page>
> 
> 
> Example 2 Haml: things/show.dryhaml
> -----------------------------------
> 
> %show-page
>   %content-body:
>     %h2 Hello World Haml
> 
> 
> 
> 
> Warm regards,
> Ignacio
> 

-- 
You received this message because you are subscribed to the Google Groups "Hobo 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to hobousers+unsubscr...@googlegroups.com.
To post to this group, send email to hobousers@googlegroups.com.
Visit this group at https://groups.google.com/group/hobousers.
For more options, visit https://groups.google.com/d/optout.

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to