diff options
Diffstat (limited to '_site/rewrites')
-rw-r--r-- | _site/rewrites/article.php | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/_site/rewrites/article.php b/_site/rewrites/article.php index eb98798..613121b 100644 --- a/_site/rewrites/article.php +++ b/_site/rewrites/article.php @@ -39,7 +39,13 @@ require_once $_SERVER['DOCUMENT_ROOT'] . "/includes/dom/header.php"; ?>, by <?= implode(" and ", $item["author"]) ?></p> </div> </div> +</div> + +<?php if (!is_null($item["cover"])): ?> +<header id="article-cover" style="background-image:url('<?= $item["cover"] ?>')"></header> +<?php endif; ?> +<div class="container" style="margin-top:15px;"> <article> <?= $item["content"]["full"] ?> </article> |