diff options
author | Morris Jobke <hey@morrisjobke.de> | 2018-10-30 14:15:38 +0300 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2018-10-30 14:15:38 +0300 |
commit | 5e632e7f182723558086bfb31a7c0f4a45941959 (patch) | |
tree | 288e5697dde7ad40473af80bb132995a927bdd1f /page-advisory.php | |
parent | 6d93c1b5e6b97dacb7a73b99c1e3be9ef593ac08 (diff) |
Add surrounding container in advisory page
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Diffstat (limited to 'page-advisory.php')
-rw-r--r-- | page-advisory.php | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/page-advisory.php b/page-advisory.php index a48d5ba4..35eeb655 100644 --- a/page-advisory.php +++ b/page-advisory.php @@ -1,7 +1,15 @@ <?php $identifier = strtolower(str_replace('.', '', $_GET['id'])); if(file_exists(__DIR__.'/advisories/'.$identifier.'.php')) { - include(__DIR__.'/advisories/'.$identifier.'.php'); + ?> + <section class="content"> + <div class="container"> + <?php + include(__DIR__.'/advisories/'.$identifier.'.php'); + ?> + </div> + </section> + <?php } else { get_template_part('404'); }
\ No newline at end of file |