fix
This commit is contained in:
parent
7a60552746
commit
ae335c72ee
|
@ -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'
|
||||
|
|
Loading…
Reference in New Issue