Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Added abilty to change content and assets directory

  • Loading branch information...
commit 049d26c2d0efa119e8a2f0d0ea2a4393063b290c 1 parent c7c14d9
@cdn64 authored
Showing with 6 additions and 0 deletions.
  1. +6 −0 bin/deplot
View
6 bin/deplot
@@ -14,6 +14,12 @@ $tasks = []
$render_type = ""
$current_source = ""
$layout = ""
+def assets_dir dir
+ $assets_dir = $root_dir + "/" + dir.gsub(/^\//, "").gsub(/\/$/, "")
+end
+def content_dir dir
+ $content_dir = $root_dir + "/" + dir.gsub(/^\//, "").gsub(/\/$/, "")
+end
def layout file
$layout = file
end
Please sign in to comment.
Something went wrong with that request. Please try again.