mirror of
https://github.com/sinatra/sinatra
synced 2023-03-27 23:18:01 -04:00
Merge pull request #520 from mattwildig/haml-link
Update README links to Haml
This commit is contained in:
commit
4a07b13b71
10 changed files with 10 additions and 10 deletions
|
@ -360,7 +360,7 @@ Beginn ein 'require':
|
||||||
|
|
||||||
=== Haml Templates
|
=== Haml Templates
|
||||||
|
|
||||||
Abhängigkeit:: {haml}[http://haml-lang.com/]
|
Abhängigkeit:: {haml}[http://haml.info/]
|
||||||
Dateierweiterungs:: <tt>.haml</tt>
|
Dateierweiterungs:: <tt>.haml</tt>
|
||||||
Beispiel:: <tt>haml :index, :format => :html5</tt>
|
Beispiel:: <tt>haml :index, :format => :html5</tt>
|
||||||
|
|
||||||
|
|
|
@ -357,7 +357,7 @@ usarla:
|
||||||
|
|
||||||
=== Plantillas Haml
|
=== Plantillas Haml
|
||||||
|
|
||||||
Dependencias:: {haml}[http://haml-lang.com/]
|
Dependencias:: {haml}[http://haml.info/]
|
||||||
Extensiones de Archivo:: <tt>.haml</tt>
|
Extensiones de Archivo:: <tt>.haml</tt>
|
||||||
Ejemplo:: <tt>haml :index, :format => :html5</tt>
|
Ejemplo:: <tt>haml :index, :format => :html5</tt>
|
||||||
|
|
||||||
|
|
|
@ -363,7 +363,7 @@ chargée au préalable :
|
||||||
|
|
||||||
=== Templates Haml
|
=== Templates Haml
|
||||||
|
|
||||||
Dépendances:: {haml}[http://haml-lang.com/]
|
Dépendances:: {haml}[http://haml.info/]
|
||||||
Extensions de fichier:: <tt>.haml</tt>
|
Extensions de fichier:: <tt>.haml</tt>
|
||||||
Exemple:: <tt>haml :index, :format => :html5</tt>
|
Exemple:: <tt>haml :index, :format => :html5</tt>
|
||||||
|
|
||||||
|
|
|
@ -184,7 +184,7 @@ hamlを使うにはhamlライブラリが必要です:
|
||||||
|
|
||||||
<tt>./views/index.haml</tt>を表示します。
|
<tt>./views/index.haml</tt>を表示します。
|
||||||
|
|
||||||
{Haml's options}[http://haml-lang.com/docs/yardoc/file.HAML_REFERENCE.html#options]
|
{Haml's options}[http://haml.info/docs/yardoc/file.HAML_REFERENCE.html#options]
|
||||||
はSinatraの設定でグローバルに設定することができます。
|
はSinatraの設定でグローバルに設定することができます。
|
||||||
{Options and Configurations}[http://www.sinatrarb.com/configuration.html],
|
{Options and Configurations}[http://www.sinatrarb.com/configuration.html],
|
||||||
を参照してそれぞれ設定を上書きして下さい。
|
を参照してそれぞれ設定を上書きして下さい。
|
||||||
|
|
|
@ -323,7 +323,7 @@ render 메서드에서 전달된 옵션값들은 +set+을 통해 설정한 옵
|
||||||
|
|
||||||
=== Haml 템플릿
|
=== Haml 템플릿
|
||||||
|
|
||||||
의존:: {haml}[http://haml-lang.com/]
|
의존:: {haml}[http://haml.info/]
|
||||||
파일 확장자:: <tt>.haml</tt>
|
파일 확장자:: <tt>.haml</tt>
|
||||||
예:: <tt>haml :index, :format => :html5</tt>
|
예:: <tt>haml :index, :format => :html5</tt>
|
||||||
|
|
||||||
|
|
|
@ -128,7 +128,7 @@ A gem/biblioteca haml é necessária para renderizar templates HAML:
|
||||||
|
|
||||||
Renderiza <tt>./views/index.haml</tt>.
|
Renderiza <tt>./views/index.haml</tt>.
|
||||||
|
|
||||||
{Opções Haml}[http://haml-lang.com/docs/yardoc/file.HAML_REFERENCE.html#options]
|
{Opções Haml}[http://haml.info/docs/yardoc/file.HAML_REFERENCE.html#options]
|
||||||
podem ser setadas globalmente através das configurações do sinatra,
|
podem ser setadas globalmente através das configurações do sinatra,
|
||||||
veja {Opções e Configurações}[http://www.sinatrarb.com/configuration.html],
|
veja {Opções e Configurações}[http://www.sinatrarb.com/configuration.html],
|
||||||
e substitua em uma requisição individual.
|
e substitua em uma requisição individual.
|
||||||
|
|
|
@ -128,7 +128,7 @@ A gem/biblioteca haml é necessária para renderizar templates HAML:
|
||||||
|
|
||||||
Renderiza <tt>./views/index.haml</tt>.
|
Renderiza <tt>./views/index.haml</tt>.
|
||||||
|
|
||||||
{Opções Haml}[http://haml-lang.com/docs/yardoc/file.HAML_REFERENCE.html#options]
|
{Opções Haml}[http://haml.info/docs/yardoc/file.HAML_REFERENCE.html#options]
|
||||||
podem ser definidas globalmente através das configurações do sinatra,
|
podem ser definidas globalmente através das configurações do sinatra,
|
||||||
veja {Opções e Configurações}[http://www.sinatrarb.com/configuration.html],
|
veja {Opções e Configurações}[http://www.sinatrarb.com/configuration.html],
|
||||||
e substitua em uma requisição individual.
|
e substitua em uma requisição individual.
|
||||||
|
|
|
@ -344,7 +344,7 @@ to use (and to be thread-safe), you should simply require it first:
|
||||||
|
|
||||||
=== Haml Templates
|
=== Haml Templates
|
||||||
|
|
||||||
Dependency:: {haml}[http://haml-lang.com/]
|
Dependency:: {haml}[http://haml.info/]
|
||||||
File Extensions:: <tt>.haml</tt>
|
File Extensions:: <tt>.haml</tt>
|
||||||
Example:: <tt>haml :index, :format => :html5</tt>
|
Example:: <tt>haml :index, :format => :html5</tt>
|
||||||
|
|
||||||
|
|
|
@ -352,7 +352,7 @@ Thin — это более производительный и функцион
|
||||||
|
|
||||||
=== Haml шаблоны
|
=== Haml шаблоны
|
||||||
|
|
||||||
Зависимости:: {haml}[http://haml-lang.com/]
|
Зависимости:: {haml}[http://haml.info/]
|
||||||
Расширения файлов:: <tt>.haml</tt>
|
Расширения файлов:: <tt>.haml</tt>
|
||||||
Пример:: <tt>haml :index, :format => :html5</tt>
|
Пример:: <tt>haml :index, :format => :html5</tt>
|
||||||
|
|
||||||
|
|
|
@ -229,7 +229,7 @@ Rack body对象或者HTTP状态码:
|
||||||
|
|
||||||
渲染 <tt>./views/index.haml</tt>。
|
渲染 <tt>./views/index.haml</tt>。
|
||||||
|
|
||||||
{Haml的选项}[http://haml-lang.com/docs/yardoc/file.HAML_REFERENCE.html#options]
|
{Haml的选项}[http://haml.info/docs/yardoc/file.HAML_REFERENCE.html#options]
|
||||||
可以通过Sinatra的配置全局设定,
|
可以通过Sinatra的配置全局设定,
|
||||||
参见 {选项和配置}[http://www.sinatrarb.com/configuration.html],
|
参见 {选项和配置}[http://www.sinatrarb.com/configuration.html],
|
||||||
也可以个别的被覆盖。
|
也可以个别的被覆盖。
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue