mirror of
https://github.com/seigler/dash-docs
synced 2025-07-27 01:36:13 +00:00
Set license files and headers for bitcoin.org's content
This commit is contained in:
parent
27f1da3ba8
commit
2a139a51a1
276 changed files with 524 additions and 171 deletions
|
@ -1,3 +1,6 @@
|
|||
# This file is licensed under the MIT License (MIT) available on
|
||||
# http://opensource.org/licenses/MIT.
|
||||
|
||||
#templates.rb generates all translated pages using templates in
|
||||
#_templates. The final file name of each page is defined in
|
||||
#the url section of each translations in _translations.
|
||||
|
@ -25,7 +28,7 @@ module Jekyll
|
|||
enabled = ENV['ENABLED_LANGS'];
|
||||
enabled = enabled.split(' ') if !enabled.nil?
|
||||
Dir.foreach('_translations') do |file|
|
||||
next if file == '.' or file == '..'
|
||||
next if file == '.' or file == '..' or file == 'COPYING'
|
||||
lang = file.split('.')[0]
|
||||
#Ignore lang if disabled
|
||||
if lang != 'en' and !enabled.nil? and !enabled.include?(lang)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue