fix
This commit is contained in:
1 parent
7a60552746
commit
ae335c72ee
1 file changed
+1
-1
+1
-1
@@ -1,5 +1,4 @@
|
||||
$:.push File.expand_path("../lib", __FILE__)
|
||||
#require 'nokogiri'
|
||||
# Maintain your gem's version:
|
||||
require "patchfile/version"
|
||||
app_path = File.expand_path(__dir__)
|
||||
@@ -35,6 +34,7 @@ change_text = '<a title="{{site_title_1}}" class="navbar-brand" href="{{home_lin
|
||||
all_template.each do |folder|
|
||||
if !folder.include?('mobile')
|
||||
begin
|
||||
require 'nokogiri'
|
||||
puts "changing header.html.erb in #{folder}/home/header.html.erb"
|
||||
if folder.split('/')[-1] != 'mobile'
|
||||
filename = folder+'home/header.html.erb'
|
||||
|
||||
Reference in new issue
Block a user