Fix custom.x path when page-file-dir is not set

This commit is contained in:
Matt Hill
2015-08-20 23:19:25 -04:00
parent f3405851a7
commit 51b5a11a54
2 changed files with 15 additions and 2 deletions
+1 -1
View File
@@ -29,7 +29,7 @@ module Precious
end
def custom_path
"#{@base_url}#{@page_dir.nil? ? '' : '/'}#{@page_dir}"
"#{@base_url}#{@page_dir.empty? ? '' : '/'}#{@page_dir}"
end
def css # custom css