diff options
author | Minteck <46352972+Minteck@users.noreply.github.com> | 2021-06-29 21:10:46 +0200 |
---|---|---|
committer | Minteck <46352972+Minteck@users.noreply.github.com> | 2021-06-29 21:10:46 +0200 |
commit | 5c5014a95ae79af4b052b5011e7d0c11d6eae6a6 (patch) | |
tree | 2e01690505d48a296d1826096f974762f46380dc /_site/rewrites | |
parent | d2733aa17b7932dfb78e97639e7d568ac41b9ee1 (diff) | |
download | unchainedtech-5c5014a95ae79af4b052b5011e7d0c11d6eae6a6.tar.gz unchainedtech-5c5014a95ae79af4b052b5011e7d0c11d6eae6a6.tar.bz2 unchainedtech-5c5014a95ae79af4b052b5011e7d0c11d6eae6a6.zip |
It's all done? Almost, just missing the RSS feed!
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> |