Skip to content

Commit 54f8ec8

Browse files
committed
Use site variable for Ruby license url
1 parent cff075f commit 54f8ec8

File tree

28 files changed

+30
-27
lines changed

28 files changed

+30
-27
lines changed

_config.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,9 @@ exclude:
1818
#url: http://www.ruby-lang.org
1919
url: http://neon.ruby-lang.org
2020

21+
license:
22+
url: /en/about/license.txt
23+
2124
downloads:
2225
stable:
2326
version: 2.0.0-p0

bg/about/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ Ruby-Talk – основният [пощенски списък](/en/community/m
3636
удивителен скок има Ruby On Rails, популярен framework за изграждането
3737
на интернет приложения.
3838

39-
Ruby е абсолютно [безплатен](/en/about/license.txt) за употреба, модификация и
39+
Ruby е абсолютно [безплатен]({{ site.license.url }}) за употреба, модификация и
4040
разпространение.
4141

4242
### Философията „всичко е обект“

bg/downloads/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ Ruby идва инсталиран по подразбиране в друга
126126

127127

128128

129-
[1]: /en/about/license.txt
129+
[1]: {{ site.license.url }}
130130
[2]: {{ site.downloads.stable.url }}
131131
[3]: {{ site.downloads.stable_snapshot.url }}
132132
[4]: {{ site.downloads.nightly_snapshot.url }}

de/about/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ dieses Wachstums ist der Beliebtheit von in Ruby geschriebener Software
4747
zu verdanken, insbesondere dem Web-Framework Ruby on
4848
Rails<sup>[2](#fn2)</sup>.
4949

50-
Ruby ist außerdem [absolut frei](/en/about/license.txt). Nicht nur kostenlos,
50+
Ruby ist außerdem [absolut frei]({{ site.license.url }}). Nicht nur kostenlos,
5151
sondern auch frei zu benutzen, zu kopieren, zu verändern und zu
5252
vertreiben.
5353

de/downloads/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ Programmiersprache Ruby“.
211211

212212

213213

214-
[1]: /en/about/license.txt
214+
[1]: {{ site.license.url }}
215215
[2]: {{ site.downloads.stable.url }}
216216
[3]: {{ site.downloads.stable_snapshot.url }}
217217
[4]: {{ site.downloads.nightly_snapshot.url }}

en/about/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ ranks Ruby as #9 among programming languages worldwide. Much of the
4545
growth is attributed to the popularity of software written in Ruby,
4646
particularly the Ruby on Rails web framework<sup>[2](#fn2)</sup>.
4747

48-
Ruby is also [totally free](/en/about/license.txt). Not only free of charge, but
48+
Ruby is also [totally free]({{ site.license.url }}). Not only free of charge, but
4949
also free to use, copy, modify, and distribute.
5050

5151
### Seeing Everything as an Object

es/about/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ crecimiento se atribuye a la popularidad alcanzada por aplicaciones
4949
desarrolladas con Ruby, en particular el framework de desarrollo web
5050
Ruby on Rails<sup>[2](#fn2)</sup>.
5151

52-
Ruby es [totalmente libre](/en/about/license.txt). No sólo gratis, sino también
52+
Ruby es [totalmente libre]({{ site.license.url }}). No sólo gratis, sino también
5353
libre para usarlo, copiarlo, modificarlo y distribuirlo.
5454

5555
### Viendo todo como un objeto

es/downloads/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ lang: es
66

77
Aquí puedes obtener las últimas distribuciones de Ruby en tu sabor
88
favorito. La versión estable actual es {{ site.downloads.stable.version }}.
9-
Por favor asegúrate de leer la [licencia de Ruby](/en/about/license.txt).
9+
Por favor asegúrate de leer la [licencia de Ruby]({{ site.license.url }}).
1010

1111
### El código fuente de Ruby
1212

fr/about/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ de six mois. » La plus grande part de cette accélération semble revenir
5757
à la popularité de certains logiciels écrits en Ruby, notamment le
5858
framework web Ruby on Rails<sup>[2](#fn2)</sup>.
5959

60-
Par ailleurs, Ruby est [totalement libre](/en/about/license.txt). Il est non
60+
Par ailleurs, Ruby est [totalement libre]({{ site.license.url }}). Il est non
6161
seulement gratuit, mais son utilisation, sa copie, sa modification et sa
6262
distribution sont également libres.
6363

fr/downloads/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ site [RubyOpenSolaris project @ Rubyforge][22].
132132

133133

134134

135-
[1]: /en/about/license.txt
135+
[1]: {{ site.license.url }}
136136
[2]: {{ site.downloads.stable.url }}
137137
[3]: {{ site.downloads.stable_snapshot.url }}
138138
[4]: {{ site.downloads.nightly_snapshot.url }}

0 commit comments

Comments
 (0)