diff --git a/themes/rule34v2/page.class.php b/themes/rule34v2/page.class.php index 7dbd6053..fa298306 100644 --- a/themes/rule34v2/page.class.php +++ b/themes/rule34v2/page.class.php @@ -20,6 +20,13 @@ class Page extends BasePage $head_block_html = ""; $sub_block_html = ""; + $main_headings = 0; + foreach ($this->blocks as $block) { + if ($block->section == "main" && !is_null($block->header) && $block->header != "Comments") { + $main_headings++; + } + } + foreach ($this->blocks as $block) { switch ($block->section) { case "left": @@ -32,6 +39,9 @@ class Page extends BasePage $head_block_html .= "