mirror of
https://github.com/kennethreitz-archive/gitx.git
synced 2026-06-05 23:40:18 +00:00
Move site template to subdir
This commit is contained in:
+1
-1
@@ -8,7 +8,7 @@ task :generate => [:generate_usermanual] do
|
||||
`cat text/*.markdown > output/UserManual.markdown`
|
||||
`cp -r assets/* output`
|
||||
|
||||
template = ERB.new(File.read("template.html"))
|
||||
template = ERB.new(File.read("templates/site.html"))
|
||||
|
||||
source = Dir.glob("text/*.markdown").each do |file|
|
||||
contents = File.read(file)
|
||||
|
||||
Reference in New Issue
Block a user