Set license files and headers for bitcoin.org's content

This commit is contained in:
Saivann 2014-11-21 17:13:43 -05:00
parent 27f1da3ba8
commit 2a139a51a1
276 changed files with 524 additions and 171 deletions

View file

@ -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)