use safe markdown for comments to prevent xss
[iankelling.org] / build.rb
index 4a6c268e3c445715f765bc3745c93058f9199f2b..507bd4e50fc2351182ac12bad7680f67b4391af6 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'))
+stdpage('favorite-things', File.read('../favorite-things.html'))