use cgi dir for better security
[iankelling.org] / build.rb
index 4a6c268..4025eef 100755 (executable)
--- a/build.rb
+++ b/build.rb
@@ -84,6 +84,8 @@ stdpage('blog', <<EOF)
 </ul>
 EOF
 
-stdpage('resume', md_to_html(File.read('../resume.md')))
+if File.exists? ('../resume.md')
+  stdpage('resume', md_to_html(File.read('../resume.md')))
+end
 
 stdpage('favorite-stuff', File.read('../favorite-stuff.html'))