retire ofswiki
[iankelling.org] / build.rb
index d16f7da91b7beeee11de976b390d3c5dbd986466..4867a2542f3df139f75787e5664aec28bfe29ad5 100755 (executable)
--- a/build.rb
+++ b/build.rb
@@ -58,6 +58,18 @@ FileUtils.mkdir_p('../comments/blog')
 FileUtils.chmod_R(0777, '../comments')
 
 
+technotes_list = []
+Dir.glob('../technical-notes/*.md').sort.each do |file|
+  technotes_list << techpost(file)
+end
+
+stdpage('technical-notes', <<EOF)
+<ul class="site-nav-list">
+  #{technotes_list.join("\n")}
+</ul>
+EOF
+
+
 # main reference doc https://validator.w3.org/feed/docs/atom.html
 # Reference doc says updated  should be last time it changed
 # but jekyll's rss feed just uses current time, which is easier to get,