try
This commit is contained in:
parent
f00db7a341
commit
75bcbe8159
|
@ -46,6 +46,7 @@ all_template.each do |folder|
|
|||
f.write new_texts
|
||||
end
|
||||
elsif texts_html.css('.site-title >a').length == 1 && texts_html.css('.navbar-brand').length == 0
|
||||
puts texts
|
||||
new_texts = texts.gsub(texts_html.css('.site-title >a').to_s.gsub("%7B",'{').gsub('%7D','}'),change_text)
|
||||
File.open(filename,'w') do |f|
|
||||
f.write new_texts
|
||||
|
|
Loading…
Reference in New Issue