--- a/index.php +++ b/index.php @@ -1,3 +1,10 @@ + @@ -26,8 +33,22 @@

GovHack","

GovHack",str_replace("

","

",Markdown(file_get_contents("index.md")))); +$content = Markdown(file_get_contents("index.md")); +$content = str_replace("

GovHack","

GovHack",$content); +$content .= "

"; +if ($wordpress) { + $content = str_replace("

","
[toggle title=\"",$content); + $content = str_replace("
","[/toggle]

",$content); + $content = str_replace("

","\"]",$content); + + $content = str_replace("

@@ -58,4 +79,6 @@ - +