1
0
Fork 0
mirror of https://github.com/sinatra/sinatra synced 2023-03-27 23:18:01 -04:00
Commit graph

24 commits

Author SHA1 Message Date
Konstantin Haase
4595a1e11c Add Scopes, Middleware and Request sections to German README. 2010-10-13 18:59:58 +02:00
Konstantin Haase
c4b9fdc440 Yet another markup fix for the README. 2010-10-12 17:31:59 +02:00
Konstantin Haase
dd81da11bb Add nokogiri helper method. Tilt supports Nokogiri for quite some time now, but it was not as easy to use as builder, and not documented. Tests and documentation included. 2010-10-10 13:53:43 +02:00
Konstantin Haase
ade0b3b008 Merge branch 'smart-templates' 2010-10-09 17:20:20 +02:00
burningTyger
64b45ec26f Typos fixed. Thank you for translating this document in the first place (khaase?).
Signed-off-by: Konstantin Haase <konstantin.mailinglists@googlemail.com>
2010-10-09 15:23:45 +02:00
Konstantin Haase
1d676f41f8 Sets default content type according to template engine used instead of just text/html.
It does so by including a Mixin into the the returned string offering a content_type method. Therefore all of the following examples produce the expected results:

    # text/html
    get('/') do
      haml :index
    end

    # text/css
    get('/') do
      sass :index
    end

    # text/css
    get('/') do
      haml :index
      sass :index
    end

    # text/html
    get('/') do
      haml '= sass :index'
    end

It also allows setting the default content type for a template engine:

    set :builder, :content_type => :html

Tests and README adjustments (all languages) included.
2010-09-27 13:25:10 +02:00
Konstantin Haase
f979cb8825 typo + grammar in German README 2010-09-25 23:57:23 +02:00
Konstantin Haase
1abac3217f Add note to all README translations saying: 'Important Note: This document is just a translation of the English version and might not be up to date.'
French translation by Gabriel Andretta (ohhgabriel)
Spanish translation by michelc
Japanese translation by Kiko Uehara (kiko)

Japanese translation also includes 'Please refer to original English document for the most up to date information.'
More translations and discussion: http://gist.github.com/589498
2010-09-22 07:56:17 +02:00
Konstantin Haase
130335bc4b Fix grammar in German README. 2010-09-22 07:43:28 +02:00
Konstantin Haase
a852f97f52 Add content_type line to German CoffeeScript example. 2010-09-12 23:11:22 +02:00
Konstantin Haase
f58d015b6d Add coffee helper method. Tilt supports CoffeeScript again, but it was not as easy to use as sass or scss, and not documented. Tests and documentation (English and German) included. 2010-09-12 23:09:10 +02:00
Konstantin Haase
8ce74b3ad2 Add markaby helper method. Tilt supports Markaby for quite some time now, but it was not as easy to use as haml or erb, and not documented. Tests and documentation (English and German) included. 2010-09-12 17:00:33 +02:00
Konstantin Haase
7cb94f2d3f Add radius helper method. Tilt supports radius for quite some time now, but it was not as easy to use as haml or erb, and not documented. Tests and documentation (English and German) included. 2010-09-12 15:14:45 +02:00
Konstantin Haase
c248dbac9d Add rdoc helper method. Tilt supports RDoc for quite some time now, but it was not as easy to use as haml or erb, and not documented. Tests and documentation (English and German) included. 2010-09-12 13:59:00 +02:00
Konstantin Haase
b464e024a8 Add textile helper method. Tilt supports textile for quite some time now, but it was not as easy to use as haml or erb, and not documented. Tests and documentation (English and German) included. 2010-09-11 14:53:04 +02:00
Konstantin Haase
970169b1fb Add markdown helper method. Tilt supports markdown for quite some time now, but it was not as easy to use as haml or erb, and not documented. Tests and documentation (English and German) included. 2010-09-11 14:35:29 +02:00
Konstantin Haase
4db91f3c3c German README: Adjust Template section headings ("XYZ Template" -> "XYZ-Template"). 2010-09-11 13:57:29 +02:00
Konstantin Haase
28a3a350bb Add liquid helper method. Tilt supports liquid for quite some time now, but it was not as easy to use as haml or erb, and not documented. Tests and documentation (English and German) included. 2010-09-11 13:54:01 +02:00
Konstantin Haase
b7b43f70b3 German README: Improve language and bring up to speed with English version. 2010-09-10 16:34:41 +02:00
Konstantin Haase
8465d492aa Avoid require "rubygems" and sudo in README. 2010-09-07 10:23:28 +02:00
Simon Rozet
f513df6bd4 fix whitespaces 2010-07-01 07:32:20 +02:00
Simon Rozet
60ac44901f lighthouse => github issue 2010-07-01 07:32:11 +02:00
Doug Ireton
edf4d4356e In German README doc, fix links to HAML and SASS Options pages. 2010-05-26 11:24:31 -07:00
Bernhard Essl
11e1f8a971 Add German translation of the README 2010-04-02 12:44:45 -07:00