--- a/index.php
+++ b/index.php
@@ -1,3 +1,10 @@
+
@@ -26,8 +33,22 @@
GovHack","
GovHack",$content);
+$content .= "
";
+if ($wordpress) {
+ $content = str_replace("","
[toggle title=\"",$content);
+ $content = str_replace("
","[/toggle] ",$content);
+ $content = str_replace("","\"]",$content);
+
+ $content = str_replace("
@@ -41,13 +62,13 @@
$('#toc').toc({
'selectors': 'h1'
});
- /*$(function(){
+ $(function(){
$('
').insertAfter('h1');
$(".items").each(function() {
$(this).stoc();
});
- });*/
+ });