mirror of
https://github.com/seigler/dash-docs
synced 2025-07-27 01:36:13 +00:00
Avoid printing "language disabled" twice in sitemap.rb and template.rb
This commit is contained in:
parent
27f1da3ba8
commit
78431fc891
1 changed files with 0 additions and 1 deletions
|
@ -28,7 +28,6 @@ module Jekyll
|
|||
lang=file.split('.')[0]
|
||||
#Ignore lang if disabled
|
||||
if lang != 'en' and !enabled.nil? and !enabled.include?(lang)
|
||||
print 'Lang ' + lang + ' disabled' + "\n"
|
||||
next
|
||||
end
|
||||
locs[lang] = YAML.load_file('_translations/'+file)[lang]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue