--- a/index.php
+++ b/index.php
@@ -1,3 +1,10 @@
+
@@ -24,13 +31,27 @@
-
-
+
GovHack","
GovHack",$content);
+$content .= "
";
+if ($wordpress) {
+ $content = str_replace("","
[toggle title=\"",$content);
+ $content = str_replace("
","[/toggle] ",$content);
+ $content = str_replace("","\"]",$content);
+
+ $content = str_replace("
+
@@ -42,8 +63,10 @@
'selectors': 'h1'
});
$(function(){
- $("#items").stoc({
- search: "#wrapper"
+
+ $('
').insertAfter('h1');
+ $(".items").each(function() {
+ $(this).stoc();
});
});
@@ -56,4 +79,6 @@