Skip to content

Commit

Permalink
plugin script now handles the ":path" variable by replacing it with t…
Browse files Browse the repository at this point in the history
…he parent folder name
  • Loading branch information
Foxcapades committed Apr 28, 2020
1 parent 667652e commit 2c4b2ae
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 1 deletion.
7 changes: 7 additions & 0 deletions .rakeTasks
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<Settings><!--This file was automatically generated by Ruby plugin.
You are allowed to:
1. Remove rake task
2. Add existing rake tasks
To add existing rake tasks automatically delete this file and reload the project.
--><RakeGroup description="" fullCmd="" taksId="rake" /></Settings>
2 changes: 1 addition & 1 deletion _plugins/site-search.rb
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ def os
# Process Pages
site.pages.each do |page|
if page.ext != '.json'
tmp = JSON.generate({:header => page.data, :output => page.output})
tmp = JSON.generate({:header => page.data, :output => page.output, :path => page.path})
pipe << "#{tmp}\n"
end
end
Expand Down
Binary file modified _scripts/post-process-darwin
Binary file not shown.
Binary file modified _scripts/post-process-linux
Binary file not shown.
Binary file modified _scripts/post-process.exe
Binary file not shown.

0 comments on commit 2c4b2ae

Please sign in to comment.